Pangxie_
Paperspigot1.12.2测试发现有报错,请尝试修复感谢!
[02:14:01] [Server thread/ERROR]: Could not pass event BlockBreakEvent to onmyoji v1.3
java.lang.NoSuchFieldError: CARROTS
at xin.tianwc.onmyoji.OnmyojiStaticData.isCrop(OnmyojiStaticData.java:152) ~[?:?]
at xin.tianwc.onmyoji.OnmyojiListeners.onBlockBreak(OnmyojiListeners.java:164) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor475.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:322) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:221) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:934) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:40) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PacketPlayInBlockDig.a(SourceFile:10) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
[02:14:01] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to onmyoji v1.3
org.bukkit.event.EventException: null
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:236) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:486) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:997) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_144]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_144]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: java.lang.NullPointerException
at xin.tianwc.onmyoji.OnmyojiStaticData.isShikigami(OnmyojiStaticData.java:124) ~[?:?]
at xin.tianwc.onmyoji.OnmyojiListeners.onPlayerClick(OnmyojiListeners.java:41) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor474.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[paper-1.12.2.jar:git-Paper-ea0646b6]
... 17 more
2019-02-16 02:17:00