Merge branch 'TFM-1.14' of https://github.com/TFPatches/TotalFreedomMod into TFM-1.14

This commit is contained in:
Super_ 2019-12-13 22:20:32 -05:00
commit 572ebdd0f5

View File

@ -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;