disable death messages

This commit is contained in:
ZeroEpoch1969 2019-12-13 20:16:09 -07:00
parent 97caed9313
commit 9a6cd007ed
No known key found for this signature in database
GPG Key ID: A7BAB4E14F089CF3

View File

@ -36,6 +36,7 @@ public class GameRuleHandler extends FreedomService
setGameRule(GameRule.NATURAL_REGENERATION, true, false);
setGameRule(GameRule.KEEP_INVENTORY, true, false);
setGameRule(GameRule.ANNOUNCE_ADVANCEMENTS, false, false);
setGameRule(GameRule.SHOW_DEATH_MESSAGES, false, false);
commitGameRules();
}
@ -95,7 +96,8 @@ public class GameRuleHandler extends FreedomService
COMMAND_BLOCK_OUTPUT("commandBlockOutput", true),
NATURAL_REGENERATION("naturalRegeneration", true),
DO_DAYLIGHT_CYCLE("doDaylightCycle", true),
ANNOUNCE_ADVANCEMENTS("announceAdvancements", false);
ANNOUNCE_ADVANCEMENTS("announceAdvancements", false),
SHOW_DEATH_MESSAGES("showDeathMessages", false);
//
private final String gameRuleName;
private final boolean defaultValue;