From f9e8a4c8ba012fb95b002f2e200096ccb16529bd Mon Sep 17 00:00:00 2001 From: Super_ Date: Sun, 12 Jul 2020 12:13:41 -0400 Subject: [PATCH] set command feedback to automatically be false --- .../java/me/totalfreedom/totalfreedommod/GameRuleHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/GameRuleHandler.java b/src/main/java/me/totalfreedom/totalfreedommod/GameRuleHandler.java index 36490da8..147abf30 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/GameRuleHandler.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/GameRuleHandler.java @@ -35,6 +35,7 @@ public class GameRuleHandler extends FreedomService setGameRule(GameRule.KEEP_INVENTORY, true, false); setGameRule(GameRule.ANNOUNCE_ADVANCEMENTS, false, false); setGameRule(GameRule.SHOW_DEATH_MESSAGES, false, false); + setGameRule(GameRule.SEND_COMMAND_FEEDBACK, false, false); commitGameRules(); } @@ -95,7 +96,8 @@ public class GameRuleHandler extends FreedomService NATURAL_REGENERATION("naturalRegeneration", true), DO_DAYLIGHT_CYCLE("doDaylightCycle", true), ANNOUNCE_ADVANCEMENTS("announceAdvancements", false), - SHOW_DEATH_MESSAGES("showDeathMessages", false); + SHOW_DEATH_MESSAGES("showDeathMessages", false), + SEND_COMMAND_FEEDBACK("sendCommandFeedback", false); // private final String gameRuleName; private final boolean defaultValue;