mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added move block while being teleported after spawning
This commit is contained in:
@ -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){
|
if(count($this->usedChunks) >= 56 and $this->spawned === false){
|
||||||
$spawned = 0;
|
$spawned = 0;
|
||||||
foreach($this->usedChunks as $d){
|
foreach($this->usedChunks as $d){
|
||||||
|
Reference in New Issue
Block a user