diff --git a/CHANGELOG.md b/CHANGELOG.md index f438dd5..f26cde2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 84.0.1 + +### Fixed + +- Restricted the `/toggledownfall` command to `gamemasters` (Minecrafts naming, not mine.) + ## 84.0.0 -### updated to 1.20.4 \ No newline at end of file +### updated to 1.20.4 diff --git a/build.gradle b/build.gradle index c4e3841..530caa3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "architectury-plugin" version "3.4-SNAPSHOT" - id "dev.architectury.loom" version "1.4-SNAPSHOT" apply false + id "dev.architectury.loom" version "1.5-SNAPSHOT" apply false id "me.modmuss50.mod-publish-plugin" version "0.4.5" } diff --git a/common/src/main/java/com/sunekaer/toolkit/commands/TKCommand.java b/common/src/main/java/com/sunekaer/toolkit/commands/TKCommand.java index d14b87d..2f5cece 100644 --- a/common/src/main/java/com/sunekaer/toolkit/commands/TKCommand.java +++ b/common/src/main/java/com/sunekaer/toolkit/commands/TKCommand.java @@ -21,7 +21,7 @@ public class TKCommand { public static void register(CommandDispatcher dispatcher, CommandBuildContext context, Commands.CommandSelection selection) { dispatcher.register(Commands.literal("toggledownfall") - .requires(cs -> Commands.LEVEL_GAMEMASTERS) + .requires(cs -> cs.hasPermission(Commands.LEVEL_GAMEMASTERS)) .executes(c -> { ServerLevel level = c.getSource() .getPlayerOrException() diff --git a/gradle.properties b/gradle.properties index 4b43739..21533fb 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,18 +4,18 @@ minecraft_version=1.20.4 enabled_platforms=fabric,forge,neoforge archives_base_name=ToolKit -mod_version=84.0.0 +mod_version=84.0.1 maven_group=com.sunekaer.mods architectury_version=11.0.11 -fabric_loader_version=0.15.4 -fabric_api_version=0.91.3+1.20.4 +fabric_loader_version=0.15.7 +fabric_api_version=0.96.4+1.20.4 -forge_version=49.0.19 +forge_version=49.0.31 forge_gradle_version=6.0.20 -neoforge_version=20.4.108-beta +neoforge_version=20.4.190 neoforge_gradle_version=7.0.83 curseforge_id=324888 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index db9a6b8..a595206 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists