mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-08 20:58:34 +00:00
Added move block while being teleported after spawning
This commit is contained in:
parent
f5a74a87e3
commit
f7c23e89f0
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user