mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
fixed target invalidation for 2 tasks
This commit is contained in:
parent
773e18282c
commit
b81438ee23
5 changed files with 24 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue