CecerMCProjects / HypixelUtils

6 stars 2 forks source link

[*] messages cause StringIndexOutOfBoundsException to be thrown #20

Open Cecer opened 9 years ago

Cecer commented 9 years ago

java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1875) at com.cecer1.hypixelutils.chat.ChatManager.tryParsePureChatMessage(ChatManager.java:253) at com.cecer1.hypixelutils.chat.ChatManager.tryParseChatComponent(ChatManager.java:204) at com.cecer1.hypixelutils.chat.ChatManager.onEvent(ChatManager.java:54) at com.cecer1.hypixelutils.chat.ChatManager.onEvent(ChatManager.java:47) at com.cecer1.hypixelutils.events.EventManager.fireEvent(EventManager.java:64) at com.cecer1.hypixelutils.events.LiteLoaderEventForwarder.onChat(LiteLoaderEventForwarder.java:43) at com.cecer1.hypixelutils.LiteModHypixelUtils.onChat(LiteModHypixelUtils.java:152) at com.mumfrey.liteloader.client.PacketEventsClient.handlePacket(PacketEventsClient.java:219) at com.mumfrey.liteloader.core.PacketEvents.handlePacketEvent(PacketEvents.java:169) at com.mumfrey.liteloader.core.PacketEvents.handlePacket(PacketEvents.java:132) at com.mumfrey.liteloader.core.PacketEvents.handlePacket(PacketEvents.java:120) at com.mumfrey.liteloader.core.event.EventProxy.$event00019(EventProxy.java:236) at net.minecraft.network.play.server.S02PacketChat.processPacket(S02PacketChat.java) at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:18) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1091) at net.minecraft.client.Minecraft.run(Minecraft.java:410) at net.minecraft.client.main.Main.main(Main.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) at com.mumfrey.liteloader.debug.Start.main(Start.java:47)