mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
Fixed Entities not being despawned on restart if they were off-limits
This commit is contained in:
parent
60bc72c6cb
commit
d8f4e88e5d
@ -144,6 +144,9 @@ class Entity extends Position{
|
||||
}
|
||||
$this->updateLast();
|
||||
$this->updatePosition();
|
||||
if($this->y < 0 and $this->class !== ENTITY_PLAYER){
|
||||
$this->close();
|
||||
}
|
||||
}
|
||||
|
||||
public function updateFuse(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user