mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Made levels infinite
This commit is contained in:
parent
b6caad289d
commit
9be231fbca
@ -1165,7 +1165,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
|
||||
$pk->x = $this->x;
|
||||
$pk->y = $this->y;
|
||||
$pk->z = $this->z;
|
||||
$pk->generator = 0;
|
||||
$pk->generator = 2; //0 ??, 1 ??, 2 infinite
|
||||
$pk->gamemode = $this->gamemode & 0x01;
|
||||
$pk->eid = 0; //Always use EntityID as zero for the actual player
|
||||
$this->directDataPacket($pk);
|
||||
|
Loading…
x
Reference in New Issue
Block a user