插件!!严重报错,只要玩家一使用牌子上锁就不停报错!!求楼主提交以下问题给开发者
bug
[18:38:08] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to LockettePro v2.10.2
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftLectern cannot be cast to org.bukkit.block.data.type.Chest
at me.crafter.mc.lockettepro.LocketteProAPI.getRelativeChestFace(LocketteProAPI.java:678) ~[?:?]
at me.crafter.mc.lockettepro.LocketteProAPI.isLocked(LocketteProAPI.java:53) ~[?:?]
at me.crafter.mc.lockettepro.BlockPlayerListener.onAttemptInteractLockedBlocks(BlockPlayerListener.java:261) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor350.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[mc.jar:git-Paper-380]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:471) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:438) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:143) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1365) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1105) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1098) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1059) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:974) ~[mc.jar:git-Paper-380]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:38:09] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to LockettePro v2.10.2
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftLectern cannot be cast to org.bukkit.block.data.type.Chest
at me.crafter.mc.lockettepro.LocketteProAPI.getRelativeChestFace(LocketteProAPI.java:678) ~[?:?]
at me.crafter.mc.lockettepro.LocketteProAPI.isLocked(LocketteProAPI.java:53) ~[?:?]
at me.crafter.mc.lockettepro.BlockPlayerListener.onAttemptInteractLockedBlocks(BlockPlayerListener.java:261) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor350.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[mc.jar:git-Paper-380]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:471) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:438) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:143) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1365) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1105) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1098) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1059) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:974) ~[mc.jar:git-Paper-380]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:38:10] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to LockettePro v2.10.2
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftLectern cannot be cast to org.bukkit.block.data.type.Chest
at me.crafter.mc.lockettepro.LocketteProAPI.getRelativeChestFace(LocketteProAPI.java:678) ~[?:?]
at me.crafter.mc.lockettepro.LocketteProAPI.isLocked(LocketteProAPI.java:53) ~[?:?]
at me.crafter.mc.lockettepro.BlockPlayerListener.onAttemptInteractLockedBlocks(BlockPlayerListener.java:261) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor350.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[mc.jar:git-Paper-380]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:471) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:438) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:143) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1365) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1105) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1098) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1059) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:974) ~[mc.jar:git-Paper-380]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:38:10] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to LockettePro v2.10.2
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftLectern cannot be cast to org.bukkit.block.data.type.Chest
at me.crafter.mc.lockettepro.LocketteProAPI.getRelativeChestFace(LocketteProAPI.java:678) ~[?:?]
at me.crafter.mc.lockettepro.LocketteProAPI.isLocked(LocketteProAPI.java:53) ~[?:?]
at me.crafter.mc.lockettepro.BlockPlayerListener.onAttemptInteractLockedBlocks(BlockPlayerListener.java:261) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor350.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[mc.jar:git-Paper-380]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:471) ~[mc.jar:git-Paper-380]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:438) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:143) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1365) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1105) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1098) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:1232) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:970) ~[mc.jar:git-Paper-380]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
[18:38:11] [Server thread/ERROR]: Could not pass event BlockBreakEvent to LockettePro v2.10.2
java.lang.ClassCastException: org.bukkit.craftbukkit.v1_15_R1.block.impl.CraftLectern cannot be cast to org.bukkit.block.data.type.Chest
at me.crafter.mc.lockettepro.LocketteProAPI.getRelativeChestFace(LocketteProAPI.java:678) ~[?:?]
at me.crafter.mc.lockettepro.LocketteProAPI.isLocked(LocketteProAPI.java:53) ~[?:?]
at me.crafter.mc.lockettepro.BlockPlayerListener.onAttemptBreakLockedBlocks(BlockPlayerListener.java:234) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor349.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[mc.jar:git-Paper-380]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[mc.jar:git-Paper-380]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:321) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:280) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerInteractManager.a(PlayerInteractManager.java:246) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1365) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[mc.jar:git-Paper-380]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[mc.jar:git-Pape