Merge pull request #227 from KAMKEEL/fix-bug-with-book-interaction-in-customnpc+

Fix SaveBookPacket server handling crash
This commit is contained in:
Kam authored and GitHub committed 2025-11-01 04:19:51 -04:00
commit d6a2d42fe7
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();