HawkEye

HawkEye

192k Downloads

Misstyped rollback command threw this.

MonsterTKE opened this issue ยท 2 comments

commented

I believe it was /hawk rollback r:30 t: 10 I could be wrong though. I attempted to roll back an edit, it threw this and I immidiatly went to the log.

org.bukkit.command.CommandException: Unhandled exception executing command 'hawk' in plugin HawkEye v1.0.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:352)
at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:737)
at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694)
at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2
at java.lang.String.substring(String.java:1955)
at uk.co.oliwali.HawkEye.SearchParser.(SearchParser.java:51)
at uk.co.oliwali.HawkEye.commands.RollbackCommand.execute(RollbackCommand.java:41)
at uk.co.oliwali.HawkEye.commands.BaseCommand.run(BaseCommand.java:64)
at uk.co.oliwali.HawkEye.HawkEye.onCommand(HawkEye.java:266)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
... 12 more

commented

Thanks

commented

Fixed by this commit.