mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-16 12:26:12 +00:00
set command feedback to automatically be false
This commit is contained in:
parent
6ca7f6ba24
commit
f9e8a4c8ba
@ -35,6 +35,7 @@ public class GameRuleHandler extends FreedomService
|
|||||||
setGameRule(GameRule.KEEP_INVENTORY, true, false);
|
setGameRule(GameRule.KEEP_INVENTORY, true, false);
|
||||||
setGameRule(GameRule.ANNOUNCE_ADVANCEMENTS, false, false);
|
setGameRule(GameRule.ANNOUNCE_ADVANCEMENTS, false, false);
|
||||||
setGameRule(GameRule.SHOW_DEATH_MESSAGES, false, false);
|
setGameRule(GameRule.SHOW_DEATH_MESSAGES, false, false);
|
||||||
|
setGameRule(GameRule.SEND_COMMAND_FEEDBACK, false, false);
|
||||||
commitGameRules();
|
commitGameRules();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,7 +96,8 @@ public class GameRuleHandler extends FreedomService
|
|||||||
NATURAL_REGENERATION("naturalRegeneration", true),
|
NATURAL_REGENERATION("naturalRegeneration", true),
|
||||||
DO_DAYLIGHT_CYCLE("doDaylightCycle", true),
|
DO_DAYLIGHT_CYCLE("doDaylightCycle", true),
|
||||||
ANNOUNCE_ADVANCEMENTS("announceAdvancements", false),
|
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 String gameRuleName;
|
||||||
private final boolean defaultValue;
|
private final boolean defaultValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user