mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-30 02:05:41 +00:00
Keep inventory items upon death (#20)
This commit is contained in:
parent
d2eea67f67
commit
7c3ea836e7
@ -35,6 +35,7 @@ public class GameRuleHandler extends FreedomService
|
|||||||
setGameRule(GameRule.MOB_GRIEFING, false, false);
|
setGameRule(GameRule.MOB_GRIEFING, false, false);
|
||||||
setGameRule(GameRule.COMMAND_BLOCK_OUTPUT, false);
|
setGameRule(GameRule.COMMAND_BLOCK_OUTPUT, false);
|
||||||
setGameRule(GameRule.NATURAL_REGENERATION, true, false);
|
setGameRule(GameRule.NATURAL_REGENERATION, true, false);
|
||||||
|
setGameRule(GameRule.KEEP_INVENTORY, true, false);
|
||||||
commitGameRules();
|
commitGameRules();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user