Hack for client side regeneration (disable natural regeneration gamerule) (#2722)

This commit is contained in:
Drew 2019-01-31 13:45:25 -05:00 committed by Dylan T
parent 5fe1d2e396
commit d7f86f0240

View File

@ -94,7 +94,9 @@ class StartGamePacket extends DataPacket{
/** @var bool */
public $isTexturePacksRequired = true;
/** @var array */
public $gameRules = []; //TODO: implement this
public $gameRules = [ //TODO: implement this
"naturalregeneration" => [1, false] //Hack for client side regeneration
];
/** @var bool */
public $hasBonusChestEnabled = false;
/** @var bool */