AltFreq / BungeeSuiteChat

Chat plugin for bungeesuite
4 stars 13 forks source link

chat pattern not expanded in server #40

Closed TheMisterMH closed 10 years ago

TheMisterMH commented 10 years ago

When chatting in a spigot server with bungeeSuitChat the chat pattern gets printed to chat without the variables getting extended.

[15:44:19] [Server thread/INFO]: GamerMH[/94.212.6.252:36445] logged in with entity id 87 at ([HUB] 40.79134105750739, 74.0, 0.9915814938486318)
[15:44:19] [Craft Scheduler Thread - 2/INFO]: Getting default channels
[15:44:19] [Server thread/WARN]: java.io.EOFException
[15:44:19] [Server thread/WARN]:    at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:340)
[15:44:19] [Server thread/WARN]:    at java.io.DataInputStream.readUTF(DataInputStream.java:589)
[15:44:19] [Server thread/WARN]:    at java.io.DataInputStream.readUTF(DataInputStream.java:564)
[15:44:19] [Server thread/WARN]:    at com.minecraftdimensions.bungeesuitechat.listeners.MessageListener.onPluginMessageReceived(MessageListener.java:86)
[15:44:19] [Server thread/WARN]:    at org.bukkit.plugin.messaging.StandardMessenger.dispatchIncomingMessage(StandardMessenger.java:427)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:1806)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.PacketPlayInCustomPayload.a(PacketPlayInCustomPayload.java:31)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.PacketPlayInCustomPayload.handle(PacketPlayInCustomPayload.java:43)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:647)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:259)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:530)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:442)
[15:44:19] [Server thread/WARN]:    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
[15:44:24] [Async Chat Thread - #0/ERROR]: Could not pass event AsyncPlayerChatEvent to Chat v0.5b-53
org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) ~[spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) ~[spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) [spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) [spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at net.minecraft.server.v1_7_R1.PlayerConnection.chat(PlayerConnection.java:859) [spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:828) [spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at net.minecraft.server.v1_7_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:59) [spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_25]
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [?:1.7.0_25]
    at java.util.concurrent.FutureTask.run(FutureTask.java:166) [?:1.7.0_25]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_25]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_25]
    at java.lang.Thread.run(Thread.java:724) [?:1.7.0_25]
Caused by: java.lang.NullPointerException
    at java.lang.String.replace(String.java:2180) ~[?:1.7.0_25]
    at com.minecraftdimensions.bungeesuitechat.Utilities.ReplaceVariables(Utilities.java:28) ~[?:?]
    at com.minecraftdimensions.bungeesuitechat.listeners.ChatListener.setVariables(ChatListener.java:73) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_25]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_25]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_25]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_25]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ~[spigot-1.7.2-R0.1-SNAPSHOT.jar:git-Spigot-1172]
    ... 14 more
AltFreq commented 10 years ago

Fixed it? Was it the wrong bungeesuite version?