From adad618de5f1a483beb5c0acfd92835f988c3186 Mon Sep 17 00:00:00 2001 From: "Luis C.M" <42545778+c0508383@users.noreply.github.com> Date: Wed, 20 Mar 2024 00:02:04 -0500 Subject: [PATCH] uncommented some lines --- .../noppes/npcs/client/gui/player/GuiDialogInteract.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/noppes/npcs/client/gui/player/GuiDialogInteract.java b/src/main/java/noppes/npcs/client/gui/player/GuiDialogInteract.java index 5704e719f..57bf7c6f3 100644 --- a/src/main/java/noppes/npcs/client/gui/player/GuiDialogInteract.java +++ b/src/main/java/noppes/npcs/client/gui/player/GuiDialogInteract.java @@ -134,8 +134,8 @@ public class GuiDialogInteract extends GuiNPCInterface implements IGuiClose float f7 = npc.rotationYawHead; float f5 = (float)(l) - i; float f6 = (float)(i1 - 50) - j; - //int rotation = npc.ai.orientation; - //npc.ai.orientation = 0; + int rotation = npc.ai.orientation; + npc.ai.orientation = 0; GL11.glRotatef(135F, 0.0F, 1.0F, 0.0F); RenderHelper.enableStandardItemLighting(); GL11.glRotatef(-135F, 0.0F, 1.0F, 0.0F); @@ -152,7 +152,7 @@ public class GuiDialogInteract extends GuiNPCInterface implements IGuiClose RenderManager.instance.renderEntityWithPosYaw(npc, 0.0D, 0.0D, 0.0D, 0.0F, 1.0F); } catch(Exception ignored){} - //npc.ai.orientation = rotation; + npc.ai.orientation = rotation; npc.renderYawOffset = f2; npc.rotationYaw = f3; npc.rotationPitch = f4;