diff --git a/src/world/Entity.php b/src/world/Entity.php index d29faad8d4..bc5327da97 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -196,6 +196,8 @@ class Entity extends Position{ $this->close(); return false; } + }else{ + $this->close(); } return true; }