mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Removed obsolete parameters from Entity->attack() and Entity->heal()
This commit is contained in:
@ -60,7 +60,7 @@ class Magma extends Solid{
|
||||
public function onEntityCollide(Entity $entity){
|
||||
if(!$entity->isSneaking()){
|
||||
$ev = new EntityDamageByBlockEvent($this, $entity, EntityDamageEvent::CAUSE_FIRE, 1);
|
||||
$entity->attack($ev->getFinalDamage(), $ev);
|
||||
$entity->attack($ev);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user