mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 18:05:10 +00:00
Added isGUIOpen() function, and setPosition function with a dimensionId parameter to ScriptPlayer.
This commit is contained in:
1 parent
27b88c1fce
commit
0d807b36d9
13 files changed
+84
-17
No files matched your search
@@ -254,8 +254,10 @@ public class PacketHandlerClient extends PacketHandlerServer{
|
||||
player.addChatMessage(new ChatComponentTranslation("Current font is %s", ClientProxy.Font.getName()));
|
||||
}
|
||||
}
|
||||
else if(type == EnumPacketClient.ISGUIOPEN){
|
||||
boolean isGUIOpen = Minecraft.getMinecraft().currentScreen != null;
|
||||
|
||||
NoppesUtil.isGUIOpen(isGUIOpen);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user