sorklin/MagicTorches — Issue #1: NPE
Author: Daedalus11069
Created: 2011-10-17 21:10:09+00:00
State: open

I keep getting the following stacktrace every time somene places a torch.

2011-10-17 16:56:39 [SEVERE] Could not pass event PLAYER_INTERACT to MagicTorches
java.lang.NullPointerException
at sorklin.magictorches.listeners.MTPlayerListener.onPlayerInteract(MTPlayerListener.java:56)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:265)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
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:92)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)