Posted April 2, 201510 yr If I press a button in my GUI it sends a packet multiple times Here is my logger service's log: http://pastebin.com/Dq76TMFL (there are lot of debug stuff, the packet got means the server got the packet) The mod's source source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod Sorry for my English
April 2, 201510 yr Author GUI button's source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/e97696b6af6de03674d872e0dbedb944ea267d4b/src/main/java/hu/laci200270/mods/modularsuits/client/gui/ModuleAddButton.java The GUI class soruce: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/e97696b6af6de03674d872e0dbedb944ea267d4b/src/main/java/hu/laci200270/mods/modularsuits/client/gui/GuiConstructionTable.java The packet handler source code: https://github.com/laci200270/Minecraft-Modular-Suits-mod/blob/e97696b6af6de03674d872e0dbedb944ea267d4b/src/main/java/hu/laci200270/mods/modularsuits/common/network/packets/PacketHandler.java (I'm using chickenbones packet handling system) Sorry for my English
April 2, 201510 yr Author Thanks for a tip,If I add it to initGUI() it will good? Sorry for my English
April 2, 201510 yr Thanks for a tip,If I add it to initGUI() it will good? Yes. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.