marcelo-mason / SimpleClans

Full featured Clan system for Minecraft
http://dev.bukkit.org/server-mods/simpleclans/
51 stars 59 forks source link

Could not pass event AsyncPlayerChatEvent #514

Closed SrBedrock closed 5 years ago

SrBedrock commented 5 years ago
[21:13:09 ERROR]: Could not pass event AsyncPlayerChatEvent to SimpleClans v2.7.12
java.lang.IllegalStateException: ChatEvent may only be triggered synchronously.
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:533) ~[patched_1.14.3.jar:git-Paper-134]
        at net.sacredlabyrinth.phaed.simpleclans.managers.ClanManager.processClanChat(ClanManager.java:1152) ~[?:?]
        at net.sacredlabyrinth.phaed.simpleclans.listeners.SCPlayerListener.onPlayerChat(SCPlayerListener.java:168) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor326.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.14.3.jar:git-Paper-134]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.14.3.jar:git-Paper-134]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.14.3.jar:git-Paper-134]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545) ~[patched_1.14.3.jar:git-Paper-134]
        at net.minecraft.server.v1_14_R1.PlayerConnection.chat(PlayerConnection.java:1750) ~[patched_1.14.3.jar:git-Paper-134]
        at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1665) ~[patched_1.14.3.jar:git-Paper-134]
        at net.minecraft.server.v1_14_R1.PacketPlayInChat$1.run(PacketPlayInChat.java:41) ~[patched_1.14.3.jar:git-Paper-134]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_212]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_212]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_212]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_212]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]