Darazo/AnCasino — Issue #1: PlayerInteract exception
Author: Flozza
Created: 2012-01-11 14:53:06+00:00
State: open

Hello darazo
Thanks for your plugin! I have an error with it, it works but at server restarting, controllers dont work more, but machine exist(in /casino list)

Thats the console display me:
2012-01-11 15:44:56 [SEVERE] Could not pass event PLAYER_INTERACT to AnCasino
java.lang.NullPointerException
at me.darazo.ancasino.listeners.AnPlayerListener.onPlayerInteract(AnPlayerListener.java:32)
at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:335)
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:178)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:149)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:561)
at net.minecraft.server.Packet15Place.a(SourceFile:39)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

Sincerly