From fb64333813699b4f1ade5c9a0646f8d4f7460713 Mon Sep 17 00:00:00 2001 From: Leymooo Date: Mon, 27 Apr 2020 00:11:49 +0300 Subject: [PATCH] pass eventLoop to thenApplyAsync --- .../proxy/connection/client/ClientPlaySessionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java index 9c22e9c2c..4864bcf22 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java @@ -147,7 +147,7 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler { TextColor.RED)); } } - }); + }, smc.eventLoop()); } else { PlayerChatEvent event = new PlayerChatEvent(player, msg); server.getEventManager().fire(event)