mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-21 09:12:22 +00:00
Merge pull request #227 from KAMKEEL/fix-bug-with-book-interaction-in-customnpc+
Fix SaveBookPacket server handling crash
This commit is contained in:
1 file changed
-3
@@ -1,7 +1,5 @@
|
||||
package kamkeel.npcs.network.packets.player;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.Unpooled;
|
||||
import kamkeel.npcs.network.LargeAbstractPacket;
|
||||
@@ -52,7 +50,6 @@ public class SaveBookPacket extends LargeAbstractPacket {
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
protected void handleCompleteData(ByteBuf data, EntityPlayer player) throws IOException {
|
||||
int x = data.readInt(), y = data.readInt(), z = data.readInt();
|
||||
|
||||
|
||||
Reference in new issue
Block a user