NullPointerException with Check Command
Vasher opened this issue ยท 1 comments
I'm running version #16 and when I tried the check command I got this error:
[SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'priv' in plugin Privileges v1.2.0-b16
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:385)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:777)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Caused by: java.lang.NullPointerException
at net.krinsoft.privileges.commands.CheckCommand.runCommand(CheckCommand.java:57)
at com.pneumaticraft.commandhandler.CommandHandler.checkAndRunCommand(CommandHandler.java:259)
at com.pneumaticraft.commandhandler.CommandHandler.processFoundCommands(CommandHandler.java:123)
at com.pneumaticraft.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:73)
at com.pneumaticraft.commandhandler.CommandHandler.locateAndRunCommand(CommandHandler.java:51)
at net.krinsoft.privileges.Privileges.onCommand(Privileges.java:72)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)