mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 07:39:42 +00:00
Improved #401
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user