我打开箱子类物品时,点击箱子界面外黑色区域。立马报错
服务端版本1.15.2,porge是最新版。
报错如下:
[14:20:32 ERROR]: Could not pass event InventoryCloseEvent to Porge v1.4.1
java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getTitle()Ljava/lang/String;
at com.ppduanzao.Listener.PlayerCloseEvent.onClose(PlayerCloseEvent.java:17) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor88.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[kuniu.jar:git-Paper-89]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[kuniu.jar:git-Paper-89]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[kuniu.jar:git-Paper-89]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) ~[kuniu.jar:git-Paper-89]
at org.bukkit.craftbukkit.v1_15_R1.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:1370) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:2107) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:18) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:5) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1038) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1031) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1015) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:938) ~[kuniu.jar:git-Paper-89]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
[14:22:59 ERROR]: Could not pass event InventoryClickEvent to Porge v1.4.1
java.lang.NoSuchMethodError: org.bukkit.inventory.Inventory.getTitle()Ljava/lang/String;
at com.ppduanzao.Listener.PlayerClickListGuiEvent.onClick(PlayerClickListGuiEvent.java:27) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor89.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[kuniu.jar:git-Paper-89]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[kuniu.jar:git-Paper-89]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[kuniu.jar:git-Paper-89]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:559) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:2328) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PacketPlayInWindowClick.a(SourceFile:32) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:23) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:1038) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:1031) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1015) ~[kuniu.jar:git-Paper-89]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:938) ~[kuniu.jar:git-Paper-89]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]