mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
removed console
This commit is contained in:
parent
395e35ad5d
commit
6f025b1dc2
1 changed files with 0 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ class TaskAttackPlayer extends TaskTempt
|
|||
$ai->mobController->lookOn($this->target);
|
||||
$mult = $ai->entity instanceof Spider ? 1 : 2;
|
||||
$radius = ($ai->entity->width * $mult)*($ai->entity->width * $mult);
|
||||
console(Utils::distance_noroot($this->target, $ai->entity));
|
||||
if(Utils::distance_noroot($this->target, $ai->entity) <= $radius && $this->attackTime <= 0){
|
||||
$ai->entity->attackEntity($this->target);
|
||||
$this->attackTime = 20;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue