mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 10:05:59 +00:00
disable death messages
This commit is contained in:
parent
97caed9313
commit
9a6cd007ed
@ -36,6 +36,7 @@ public class GameRuleHandler extends FreedomService
|
|||||||
setGameRule(GameRule.NATURAL_REGENERATION, true, false);
|
setGameRule(GameRule.NATURAL_REGENERATION, true, false);
|
||||||
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);
|
||||||
commitGameRules();
|
commitGameRules();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -95,7 +96,8 @@ public class GameRuleHandler extends FreedomService
|
|||||||
COMMAND_BLOCK_OUTPUT("commandBlockOutput", true),
|
COMMAND_BLOCK_OUTPUT("commandBlockOutput", true),
|
||||||
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);
|
||||||
//
|
//
|
||||||
private final String gameRuleName;
|
private final String gameRuleName;
|
||||||
private final boolean defaultValue;
|
private final boolean defaultValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user