OtherDrops

226k Downloads

NPE when rightclicking on a chest

Zarius opened this issue ยท 2 comments

commented

Error:

00:20:57 [SEVERE] Could not pass event PLAYER_INTERACT to OtherDrops
java.lang.NullPointerException
at com.gmail.zariust.otherdrops.data.ContainerData.(ContainerData.java:34)
at com.gmail.zariust.otherdrops.subject.BlockTarget.getData(BlockTarget.java:58)
at com.gmail.zariust.otherdrops.subject.BlockTarget.(BlockTarget.java:42)
at com.gmail.zariust.otherdrops.event.OccurredDropEvent.(OccurredDropEvent.java:164)
at com.gmail.zariust.otherdrops.listener.OdPlayerListener.onPlayerInteract(OdPlayerListener.java:40)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
at net.minecraft.server.Packet15Place.a(SourceFile:57)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

commented

I see what the issue is. Should be fixed in CelticMinstrel@65b3014.

commented

Yup, I don't get the NPE anymore.