-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
None
-
This server is running CraftBukkit version 3034-Spigot-1ad8354-0791e54 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
-
Yes
The PlayerEditBookEvent is not called when the player edits a book in the off-hand.
[13:31:42] [Server thread/FATAL]: Error executing task on Server java.lang.IllegalArgumentException: Slot must be in range (-1)-8 inclusive at org.apache.commons.lang.Validate.isTrue(Validate.java:136) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at org.bukkit.event.player.PlayerEditBookEvent.<init>(PlayerEditBookEvent.java:27) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.handleEditBookEvent(CraftEventFactory.java:1295) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1009) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.PlayerConnection.lambda$11(PlayerConnection.java:993) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.PlayerConnection.lambda$2(PlayerConnection.java:438) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.PlayerConnection.lambda$4(PlayerConnection.java:452) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(SourceFile:144) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(SourceFile:118) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1051) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1044) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(SourceFile:127) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1028) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:960) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$0(MinecraftServer.java:273) ~[spigot-1-16-4.jar:3034-Spigot-1ad8354-0791e54] at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]