Rename to NPC AI to NPC AIs

This commit is contained in:
Kam committed 2025-02-10 21:32:55 -05:00
1 parent a35db3f9e5
commit 7d37670494
46 files changed
+425 -419

No files matched your search

+2 -2
View File
@@ -181,8 +181,8 @@ public class NPCSpawning {
if(spawnEntity instanceof EntityCustomNpc){
EntityCustomNpc npc = (EntityCustomNpc) spawnEntity;
npc.stats.spawnCycle = 3;
npc.ai.returnToStart = false;
npc.ai.startPos = new int[]{x,y, z};
npc.ais.returnToStart = false;
npc.ais.startPos = new int[]{x,y, z};
npc.updateAI = true;
npc.updateClient = true;
npc.getNavigator().clearPathEntity();