Tool Teleport Permissions

This commit is contained in:
Kam committed 2024-02-19 19:47:13 -05:00
1 parent 79b197b680
commit 75dc7ed95c
5 files changed
+27 -68

No files matched your search

@@ -200,6 +200,9 @@ public class PacketHandlerClient extends PacketHandlerServer{
int y = buffer.readInt();
int z = buffer.readInt();
CustomNpcs.proxy.openGui(x, y, z, EnumGuiType.MobSpawner, player);
}
else if(type == EnumPacketClient.TELEPORTER){
CustomNpcs.proxy.openGui((EntityNPCInterface)null,EnumGuiType.NpcDimensions);
}
else if(type == EnumPacketClient.GUI_DATA){
GuiScreen gui = Minecraft.getMinecraft().currentScreen;