Made levels infinite

This commit is contained in:
Shoghi Cervantes 2014-06-10 15:05:59 +02:00
parent b6caad289d
commit 9be231fbca

View File

@ -1165,7 +1165,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
$pk->x = $this->x; $pk->x = $this->x;
$pk->y = $this->y; $pk->y = $this->y;
$pk->z = $this->z; $pk->z = $this->z;
$pk->generator = 0; $pk->generator = 2; //0 ??, 1 ??, 2 infinite
$pk->gamemode = $this->gamemode & 0x01; $pk->gamemode = $this->gamemode & 0x01;
$pk->eid = 0; //Always use EntityID as zero for the actual player $pk->eid = 0; //Always use EntityID as zero for the actual player
$this->directDataPacket($pk); $this->directDataPacket($pk);