Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected void actionPerformed(GuiButton button) throws IOException {
- if(button==ok){
- ByteBuf buf = Unpooled.buffer();
- ByteBufUtils.writeUTF8String(buf,"test");
- mc.player.connection.sendPacket(new CPacketCustomPayload("albidnetwork",new PacketBuffer(buf)));
- mc.player.closeScreen();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement