From db181db85be5575b46f0d08dd5d72dd0e2ba40c4 Mon Sep 17 00:00:00 2001 From: Zeanon Date: Sat, 15 May 2021 17:17:11 +0200 Subject: [PATCH] We can spell, HOOZAH --- .../src/de/steamwar/bausystem/commands/CommandClear.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java index d1c60e4..195d0f3 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java @@ -49,13 +49,13 @@ public class CommandClear extends SWCommand { public void clearPlayerCommand(Player p, Player target) { if (!permissionCheck(p)) return; clear(target); - target.sendMessage(BauSystem.PREFIX + "Dein Inventar wurde von" + p.getDisplayName() + " §7geleert."); + target.sendMessage(BauSystem.PREFIX + "Dein Inventar wurde von " + p.getDisplayName() + " §7geleert."); p.sendMessage(BauSystem.PREFIX + "Das Inventar von " + target.getDisplayName() + " §7wurde geleert."); } private boolean permissionCheck(Player player) { if (Welt.noPermission(player, Permission.WORLD)) { - player.sendMessage(BauSystem.PREFIX + "$cDu darfst hier keine fremden Inventare leeren."); + player.sendMessage(BauSystem.PREFIX + "§cDu darfst hier keine fremden Inventare leeren."); return false; } return true; -- 2.39.5