Added move block while being teleported after spawning

This commit is contained in:
Shoghi Cervantes 2014-07-01 01:19:24 +02:00
parent f5a74a87e3
commit f7c23e89f0

View File

@ -585,6 +585,12 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{
}
}
if(count($this->usedChunks) < 8 and $this->spawned === true){
$this->blocked = true;
}elseif($this->spawned === true){
$this->blocked = false;
}
if(count($this->usedChunks) >= 56 and $this->spawned === false){
$spawned = 0;
foreach($this->usedChunks as $d){