mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-24 09:24:26 +00:00
Rename to NPC AI to NPC AIs
This commit is contained in:
1 parent
a35db3f9e5
commit
7d37670494
46 files changed
+425
-419
No files matched your search
@@ -22,7 +22,7 @@ public class EntityAISprintToTarget extends EntityAIBase
|
||||
return false;
|
||||
}
|
||||
|
||||
switch(this.npc.ai.onAttack){
|
||||
switch(this.npc.ais.onAttack){
|
||||
case 0 : return !this.npc.isInRange(runTarget, 8)? (!this.npc.onGround ? false : true) : false;
|
||||
case 2 : return this.npc.isInRange(runTarget, 7)? (!this.npc.onGround ? false : true) : false;
|
||||
default : return false;
|
||||
|
||||
Reference in new issue
Block a user