dchaosknight / FriskStick

Source code for FriskStick
0 stars 4 forks source link

Console Crash onCommand #2

Closed ghost closed 12 years ago

ghost commented 12 years ago

When a command is typed in the console the server crashes and creates a report. I will be working on the fix for this when I have time. Shouldn't be too hard.

Here it the report:

---- Minecraft Crash Report ---- // Surprise! Haha. Well, this is awkward.

Time: 8/18/12 2:06 PM Description: Exception in server tick loop

org.bukkit.command.CommandException: Unhandled exception executing command 'frisk' in plugin FriskStick v1.1 Alpha 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:492) at org.bukkit.craftbukkit.CraftServer.dispatchServerCommand(CraftServer.java:488) at net.minecraft.server.DedicatedServer.ah(DedicatedServer.java:248) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at friskstick.cops.plugin.FriskStick.onCommand(FriskStick.java:242) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 8 more

Relevant Details:

ghost commented 12 years ago

There is also an issue with the commands.

ghost commented 12 years ago

FIXED