dmulloy2 / ChestShop-3

Old ChestShop repo. See
https://github.com/ChestShop-authors/ChestShop-3
7 stars 2 forks source link

Could not pass event PlayerInteractEvent & BlockBreakEvent to ChestShop #3

Closed mibby closed 8 years ago

mibby commented 8 years ago

@dmulloy2 Found more errors for you. :)

Custom compiled version as of this commit. https://github.com/dmulloy2/ChestShop-3/commit/a13b2c9070d9496d24fcd074d4fe8c19f4a9d8c7 Paper (Spigot 1.10) dev 841 Entire thing. http://paste.ubuntu.com/23073915/

[06:56:52] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-832]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:891) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-832]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-832]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-832]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:90) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:236) ~[?:?]
    at com.Acrobot.ChestShop.Signs.ChestShopSign.canAccess(ChestShopSign.java:84) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Player.PlayerInteract.onInteract(PlayerInteract.java:81) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-832]
    ... 18 more
[06:57:47] [Server thread/ERROR]: Could not pass event BlockBreakEvent to ChestShop v3.8.13
org.bukkit.event.EventException
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:36) ~[patched_1.10.2.jar:git-Paper-832]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:74) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:293) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:219) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:849) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:40) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PacketPlayInBlockDig.a(SourceFile:10) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [patched_1.10.2.jar:git-Paper-832]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_102]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_102]
    at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:791) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:404) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:725) [patched_1.10.2.jar:git-Paper-832]
    at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:624) [patched_1.10.2.jar:git-Paper-832]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
Caused by: java.lang.IllegalArgumentException: Name cannot be blank
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:125) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.craftbukkit.v1_10_R1.CraftServer.getOfflinePlayer(CraftServer.java:1339) ~[patched_1.10.2.jar:git-Paper-832]
    at org.bukkit.Bukkit.getOfflinePlayer(Bukkit.java:765) ~[patched_1.10.2.jar:git-Paper-832]
    at com.Acrobot.ChestShop.UUIDs.NameManager.getUUID(NameManager.java:90) ~[?:?]
    at com.Acrobot.ChestShop.UUIDs.NameManager.canUseName(NameManager.java:236) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.canDestroyShop(SignBreak.java:148) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.canBlockBeBroken(SignBreak.java:129) ~[?:?]
    at com.Acrobot.ChestShop.Listeners.Block.Break.SignBreak.onSignBreak(SignBreak.java:64) ~[?:?]
    at com.destroystokyo.paper.event.executor.StaticMethodHandleEventExecutor.execute(StaticMethodHandleEventExecutor.java:34) ~[patched_1.10.2.jar:git-Paper-832]
    ... 18 more