mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Hack for client side regeneration (disable natural regeneration gamerule) (#2722)
This commit is contained in:
parent
5fe1d2e396
commit
d7f86f0240
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user