calebbfmv / Border-Patrol

0 stars 0 forks source link

Command BPHELP exception #10

Open skore87 opened 12 years ago

skore87 commented 12 years ago

Typing "/bphelp" causes exception:

2012-09-05 23:07:28 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'bphelp' in plugin Border Patrol v0.0.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 net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) 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.ArrayIndexOutOfBoundsException: 0 at com.dpajd.ProtectionPlugin.Commands.BPCommandHelp.onCommand(BPCommandHelp.java:37) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more

skore87 commented 12 years ago

fixed