From c81bbdaaa9b3fb3db2d585c2d6456829d35411a4 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Fri, 12 Dec 2014 12:05:36 +0100 Subject: [PATCH] Possible fix for #2394 --- src/pocketmine/entity/Entity.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index c09d95d4c..d089ebeb9 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -1256,7 +1256,6 @@ public function close(){ $this->level->removeEntity($this); } $this->despawnFromAll(); - $this->level = null; } }