From f6a617718550d0342640db4bc5cf868939b123d8 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 11 Feb 2021 17:02:24 +0100 Subject: [PATCH] Fixing Various thing with new Message System --- src/de/steamwar/bungeecore/commands/KickCommand.java | 2 +- src/de/steamwar/messages/BungeeCore.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/commands/KickCommand.java b/src/de/steamwar/bungeecore/commands/KickCommand.java index 44b5b97..cb27fab 100644 --- a/src/de/steamwar/bungeecore/commands/KickCommand.java +++ b/src/de/steamwar/bungeecore/commands/KickCommand.java @@ -47,7 +47,7 @@ public class KickCommand extends BasicCommand { } if(args.length == 1){ - Message.send("KICK_NORMAL", target); + target.disconnect(Message.parseToComponent("KICK_NORMAL", true, target)); }else{ StringBuilder msgBuilder = new StringBuilder(); msgBuilder.append(BungeeCore.CHAT_PREFIX).append("§c"); diff --git a/src/de/steamwar/messages/BungeeCore.properties b/src/de/steamwar/messages/BungeeCore.properties index 65b14be..f584457 100644 --- a/src/de/steamwar/messages/BungeeCore.properties +++ b/src/de/steamwar/messages/BungeeCore.properties @@ -450,6 +450,7 @@ CHAT_BC_NO_COMMANDS=§cKeine Befehle mit /local möglich. #CheckListner CHECK_UNCHECKED=§7Du hast noch §e{0} §7ungeprüfte Schematic§8(§7s§8)! +CHECK_CHECKING=§cDu prüfst gerade eine Schematic! #ConnectionListener JOIN_ARENA=§7Klicke §ehier§7, um §e{0} §7beizutreten