readd cactus config

This commit is contained in:
Lulu13022002
2024-12-15 16:40:37 +01:00
parent 6d7c3255f6
commit 46eccd8c7d
3 changed files with 27 additions and 17 deletions

View File

@@ -270,7 +270,7 @@
- this.onChanged(context.getSource().getServer());
+ public void setFromArgument(CommandContext<CommandSourceStack> context, String paramName, GameRules.Key<T> gameRuleKey) { // Paper - Add WorldGameRuleChangeEvent
+ this.updateFromArgument(context, paramName, gameRuleKey); // Paper - Add WorldGameRuleChangeEvent
+ this.onChanged(context.getSource().getLevel());
+ this.onChanged(context.getSource().getLevel()); // CraftBukkit - per-world
}
- public void onChanged(@Nullable MinecraftServer server) {