loawkise Posted March 22, 2015 Posted March 22, 2015 When I try to use: FMLProxyPacket thePacket = new FMLProxyPacket(bbos.buffer(), MainModFile.networkChannelName); I get this error that the constructor is undefined so I don't know what I can do about it. Quote
61352151511 Posted March 22, 2015 Posted March 22, 2015 What does bbos.buffer return? FMLProxyPacket takes a PacketBuffer and a String Quote
loawkise Posted March 22, 2015 Author Posted March 22, 2015 Well it returns a ByteBuf, but if I try casting to a PacketBuffer then it crashes. Is that wrong? Quote
61352151511 Posted March 22, 2015 Posted March 22, 2015 << Hint >> public PacketBuffer(ByteBuf wrapped) { this.buf = wrapped; } Is the constructor for PacketBuffer Quote
Recommended Posts
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.