creepers will not drop gunpowder after they exploded

This commit is contained in:
GameHerobrine 2023-01-25 19:39:58 +03:00
parent 6f025b1dc2
commit f0c77deecc

View file

@ -77,8 +77,8 @@ class Creeper extends Monster{
} }
$this->setIgnited(0); $this->setIgnited(0);
$explosion = new Explosion($this, 3); $explosion = new Explosion($this, 3);
$explosion->explode();
$this->close(); $this->close();
$explosion->explode();
} }
public function getDrops(){ public function getDrops(){