mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Improved #401
This commit is contained in:
parent
155c918bb8
commit
d0a021de73
@ -135,7 +135,10 @@ class Entity extends Position{
|
|||||||
$this->size = 1;
|
$this->size = 1;
|
||||||
if($this->type === OBJECT_PAINTING){
|
if($this->type === OBJECT_PAINTING){
|
||||||
$this->isStatic = true;
|
$this->isStatic = true;
|
||||||
|
}elseif($this->type === OBJECT_ARROW){
|
||||||
|
$this->server->schedule(1210, array($this, "update")); //Despawn
|
||||||
}
|
}
|
||||||
|
$this->update();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$this->updateLast();
|
$this->updateLast();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user