mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Removed obsolete parameters from Entity->attack() and Entity->heal()
This commit is contained in:
@ -53,8 +53,8 @@ class Squid extends WaterAnimal{
|
||||
return "Squid";
|
||||
}
|
||||
|
||||
public function attack($damage, EntityDamageEvent $source){
|
||||
parent::attack($damage, $source);
|
||||
public function attack(EntityDamageEvent $source){
|
||||
parent::attack($source);
|
||||
if($source->isCancelled()){
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user