mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
attackEntity method was added
This commit is contained in:
parent
89ee29a30a
commit
45b36cb034
4 changed files with 50 additions and 40 deletions
|
|
@ -22,6 +22,8 @@ class Creeper extends Monster{
|
|||
$this->setState($v === null ? !$this->getState() : $v);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @return boolean
|
||||
*/
|
||||
|
|
@ -74,4 +76,4 @@ class Creeper extends Monster{
|
|||
[GUNPOWDER, 0, mt_rand(0,2)]
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue