mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 15:02:17 +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
@@ -261,9 +261,9 @@ public abstract class GuiContainerNPCInterface extends GuiContainer
|
||||
float f6 = (float) ((guiTop + y) - 50) - mouseY;
|
||||
int orientation = 0;
|
||||
if(npc != null){
|
||||
if(npc.ai != null){
|
||||
orientation = npc.ai.orientation;
|
||||
npc.ai.orientation = 0;
|
||||
if(npc.ais != null){
|
||||
orientation = npc.ais.orientation;
|
||||
npc.ais.orientation = 0;
|
||||
}
|
||||
}
|
||||
GL11.glRotatef(135F, 0.0F, 1.0F, 0.0F);
|
||||
@@ -282,8 +282,8 @@ public abstract class GuiContainerNPCInterface extends GuiContainer
|
||||
npc.rotationPitch = f4;
|
||||
npc.rotationYawHead = f7;
|
||||
if(npc != null){
|
||||
if(npc.ai != null){
|
||||
npc.ai.orientation = orientation;
|
||||
if(npc.ais != null){
|
||||
npc.ais.orientation = orientation;
|
||||
}
|
||||
}
|
||||
npc.isDrawn = false;
|
||||
|
||||
Reference in new issue
Block a user