mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 04:59:46 +00:00
fixed creeper exploding on death
This commit is contained in:
parent
83cfa7c37a
commit
104244365b
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ class Creeper extends Monster{
|
||||||
|
|
||||||
public function explode()
|
public function explode()
|
||||||
{
|
{
|
||||||
if($this->closed){
|
if($this->closed || $this->dead){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$this->setIgnited(0);
|
$this->setIgnited(0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue