From 1de3ae9412a17580bd2799c3c1f0961132f07b70 Mon Sep 17 00:00:00 2001 From: ajgeiss0702 Date: Sun, 12 Sep 2021 17:12:25 -0700 Subject: [PATCH] fix kick reason not being plain --- .../queue/platforms/velocity/players/VelocityPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/players/VelocityPlayer.java b/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/players/VelocityPlayer.java index d4c64ba..c48634e 100644 --- a/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/players/VelocityPlayer.java +++ b/platforms/velocity/src/main/java/us/ajg0702/queue/platforms/velocity/players/VelocityPlayer.java @@ -147,7 +147,7 @@ public class VelocityPlayer implements AdaptedPlayer, Audience { main.getMessages().getComponent( "velocity-kick-message", "SERVER:"+server.getName(), - "REASON:"+reason + "REASON:"+PlainTextComponentSerializer.plainText().serialize(reason) ) ); }