mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
Fixed misuse of kill() and close() when deleting entities (#1490)
This commit is contained in:
@ -91,7 +91,7 @@ class PrimedTNT extends Entity implements Explosive{
|
||||
$this->fuse -= $tickDiff;
|
||||
|
||||
if($this->fuse <= 0){
|
||||
$this->kill();
|
||||
$this->flagForDespawn();
|
||||
$this->explode();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user