Posted November 6, 20168 yr I'm having some trouble sending a packet from a client GUI(through a button push) to the server. My initial intent was to spawn an item outside the block by pushing the button, but now Im just testing with a println. Crash: http://pastebin.com/DQCyC7rL Gui Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/client/guis/GuiVendor.java Packet Handler Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/handler/PacketHandler.java Message Class: https://github.com/BeardlessBrady/Currency-Mod/blob/master/src/main/java/gunn/modcurrency/network/PacketSendItem.java
November 6, 20168 yr Your packet needs to have a no-arguments constructor. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
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.