mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Removed obsolete parameters from Entity->attack() and Entity->heal()
This commit is contained in:
@ -187,7 +187,7 @@ class Explosion{
|
||||
$ev = new EntityDamageEvent($entity, EntityDamageEvent::CAUSE_BLOCK_EXPLOSION, $damage);
|
||||
}
|
||||
|
||||
$entity->attack($ev->getFinalDamage(), $ev);
|
||||
$entity->attack($ev);
|
||||
$entity->setMotion($motion->multiply($impact));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user