From d0a021de73e90d270129aad6803c0c81f9244e83 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 16 Jun 2013 17:28:12 +0200 Subject: [PATCH] Improved #401 --- src/world/Entity.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/world/Entity.php b/src/world/Entity.php index 97b5d99e..acdabee4 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -135,7 +135,10 @@ class Entity extends Position{ $this->size = 1; if($this->type === OBJECT_PAINTING){ $this->isStatic = true; + }elseif($this->type === OBJECT_ARROW){ + $this->server->schedule(1210, array($this, "update")); //Despawn } + $this->update(); break; } $this->updateLast();