Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new permission flag to toggle snowfall, like you would for firespread #7690

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Remove completed TODOs
  • Loading branch information
jwkerr committed Dec 2, 2024
commit 48e5239e46b4143229c8c14bd113764c903d9782
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ public enum ConfigNodes {
"new_world_settings.snow.world_snowfall_enabled",
"true",
"# Do new worlds allow snow to fall in towns by default?",
"# You can adjust this setting for an existing world using /townyworld toggle snow"), // TODO: add these two commands
"# You can adjust this setting for an existing world using /townyworld toggle snow"),
NWS_FORCE_SNOW_ON(
"new_world_settings.snow.force_snow_on",
"true",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public enum PermissionNodes {
TOWNY_COMMAND_PLOT_TOGGLE_EXPLOSION("towny.command.plot.toggle.explosion"),
TOWNY_COMMAND_PLOT_TOGGLE_FIRE("towny.command.plot.toggle.fire"),
TOWNY_COMMAND_PLOT_TOGGLE_MOBS("towny.command.plot.toggle.mobs"),
TOWNY_COMMAND_PLOT_TOGGLE_SNOW("towny.command.plot.toggle.snow"), // TODO: add permission node
TOWNY_COMMAND_PLOT_TOGGLE_SNOW("towny.command.plot.toggle.snow"),

TOWNY_COMMAND_PLOT_SET("towny.command.plot.set.*"),
TOWNY_COMMAND_PLOT_SET_NAME("towny.command.plot.set.name"),
Expand Down