fixed creeper exploding on death

This commit is contained in:
GameHerobrine 2023-02-19 13:25:20 +03:00
parent 83cfa7c37a
commit 104244365b

View file

@ -74,7 +74,7 @@ class Creeper extends Monster{
public function explode()
{
if($this->closed){
if($this->closed || $this->dead){
return false;
}
$this->setIgnited(0);