mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +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 */
|
/** @var bool */
|
||||||
public $isTexturePacksRequired = true;
|
public $isTexturePacksRequired = true;
|
||||||
/** @var array */
|
/** @var array */
|
||||||
public $gameRules = []; //TODO: implement this
|
public $gameRules = [ //TODO: implement this
|
||||||
|
"naturalregeneration" => [1, false] //Hack for client side regeneration
|
||||||
|
];
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
public $hasBonusChestEnabled = false;
|
public $hasBonusChestEnabled = false;
|
||||||
/** @var bool */
|
/** @var bool */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user