AlbertBlue
spigot1.12.2报错不能用protocollib是4.2.0的
[18:45:53 ERROR]: [ChinesizeAsYouCan] Unhandled exception occured in onPacketSending(PacketEvent) for ChinesizeAsYouCan
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source) ~[?:1.8.0_151]
at chinesizeasyoucan.util.a.a(StringTool.java:104) ~[%255B1.6.2-1.11.2%255D%255Bv1.1%255DChinesizeAsYouCan.jar:?]
at chinesizeasyoucan.listener.a.c(PacketListener_Message.java:126) ~[%255B1.6.2-1.11.2%255D%255Bv1.1%255DChinesizeAsYouCan.jar:?]
at chinesizeasyoucan.listener.a.b(PacketListener_Message.java:70) ~[%255B1.6.2-1.11.2%255D%255Bv1.1%255DChinesizeAsYouCan.jar:?]
at chinesizeasyoucan.listener.a$1.onPacketSending(PacketListener_Message.java:73) ~[%255B1.6.2-1.11.2%255D%255Bv1.1%255DChinesizeAsYouCan.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:588) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:564) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ProtocolInjector.packetQueued(ProtocolInjector.java:338) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ProtocolInjector.onPacketSending(ProtocolInjector.java:298) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:386) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$500(ChannelInjector.java:77) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ChannelInjector$5.handleScheduled(ChannelInjector.java:352) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ChannelInjector$5.onMessageScheduled(ChannelInjector.java:320) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:127) [ProtocolLib.jar:4.3.0]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:95) [ProtocolLib.jar:4.3.0]
at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:194) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.NetworkManager.sendPacket(NetworkManager.java:143) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PlayerConnection.sendPacket(PlayerConnection.java:1138) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.sendRawMessage(CraftPlayer.java:150) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.sendMessage(CraftPlayer.java:157) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at mineverse.Aust1n46.chat.listeners.ChatListener.onAsyncPlayerChatEvent(ChatListener.java:467) [VentureChat.jar:?]
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at pw.yumc.Yum.inject.ListenerInjector.execute(ListenerInjector.java:88) [Yum.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PlayerConnection.chat(PlayerConnection.java:1319) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.chat(CraftPlayer.java:241) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at mineverse.Aust1n46.chat.listeners.CommandListener.onPlayerCommandPreprocess(CommandListener.java:208) [VentureChat.jar:?]
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at pw.yumc.Yum.inject.ListenerInjector.execute(ListenerInjector.java:88) [Yum.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1389) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_151]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_151]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2-R0.1-SNAPSHOT-b1442.jar:git-Spigot-d21162c-61e0c69]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
[18:45:53 ERROR]: Parameters:
net.minecraft.server.v1_12_R1.PacketPlayOutChat@37e31207[
a=TextComponent{text='', siblings=[TextComponent{text='29 seconds of cooldown remaining.', siblings=[], style=Style{hasParent=true, color=§c, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
components=<null>
b=SYSTEM
]
2017-11-18 18:49:00