Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still getting an issue when two people loot a scripted chest, and the loot is not distriputed #179

Closed
Flemse12 opened this issue Nov 29, 2016 · 4 comments

Comments

@Flemse12
Copy link

29-11-2016 01:40:10 [ERROR] Could not pass event PlayerInteractEvent to DungeonsXL v0.15.1-SNAPSHOT-06
29-11-2016 01:40:10 org.bukkit.event.EventException
29-11-2016 01:40:10 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at org.bukkit.craftbukkit.v1_10_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:231) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.PlayerInteractManager.a(PlayerInteractManager.java:492) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:877) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:55) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.PacketPlayInUseItem.a(SourceFile:11) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_111]
29-11-2016 01:40:10 at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_111]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:692) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:647) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:551) [craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:10 at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
29-11-2016 01:40:10 Caused by: java.lang.NullPointerException
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.player.DGamePlayer.finish(DGamePlayer.java:873) ~[?:?]
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.player.DGamePlayer.finish(DGamePlayer.java:813) ~[?:?]
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.sign.EndSign.onPlayerTrigger(EndSign.java:74) ~[?:?]
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.sign.DSign.onUpdate(DSign.java:180) ~[?:?]
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.trigger.Trigger.updateDSigns(Trigger.java:114) ~[?:?]
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.trigger.InteractTrigger.onTrigger(InteractTrigger.java:49) ~[?:?]
29-11-2016 01:40:11 at io.github.dre2n.dungeonsxl.listener.PlayerListener.onInteract(PlayerListener.java:247) ~[?:?]
29-11-2016 01:40:11 at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) ~[?:?]
29-11-2016 01:40:11 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_111]
29-11-2016 01:40:11 at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_111]
29-11-2016 01:40:11 at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[craftbukkit-1.10.2.jar:git-Bukkit-67b2424]
29-11-2016 01:40:11 ... 17 more

@Flemse12
Copy link
Author

By distriputed i mean that only the player that loots the chest gets the loot even tho it tells everyone they got it.

@Sataniel98
Copy link
Member

Isn't this exactly the same as the first one?

@Flemse12
Copy link
Author

Seems like it

@Sataniel98
Copy link
Member

=> #177

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants