fixed target invalidation for 2 tasks

This commit is contained in:
GameHerobrine 2024-03-20 04:10:06 +03:00
parent 773e18282c
commit b81438ee23
5 changed files with 24 additions and 9 deletions

View file

@ -197,7 +197,11 @@ class Entity extends Position
public function isType(){
return in_array($this->type, func_get_args());
}
/**
* @param Entity $entity
* @param int $distance
* @return boolean
*/
public function attackEntity($entity, $distance){
return false;
}