Fixed misuse of kill() and close() when deleting entities (#1490)

This commit is contained in:
Dylan K. Taylor
2017-11-04 19:30:48 +00:00
committed by GitHub
parent e84ab8fec2
commit eab7b93483
10 changed files with 27 additions and 13 deletions

View File

@ -102,7 +102,7 @@ abstract class Projectile extends Entity{
}
}
$this->close();
$this->flagForDespawn();
}
public function saveNBT(){