Added far-generated loaded chunk to garbage collection

This commit is contained in:
Shoghi Cervantes
2014-07-14 12:46:03 +02:00
parent 0db009b08f
commit 79e864f4f1
6 changed files with 20 additions and 4 deletions

View File

@@ -414,6 +414,8 @@ abstract class Entity extends Position implements Metadatable{
public function entityBaseTick(){
//TODO: check vehicles
if($this->dead === true and !($this instanceof Player)){
$this->close();