From 227646226bd0a9a78159291cd58c313b01417cfe Mon Sep 17 00:00:00 2001 From: BuildTools Date: Thu, 9 Jan 2020 20:11:09 +0100 Subject: [PATCH] fix --- .../src/de/steamwar/bausystem/commands/CommandClear.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java index 175a7af..f070867 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java @@ -3,7 +3,6 @@ package de.steamwar.bausystem.commands; import de.steamwar.bausystem.BauSystem; import de.steamwar.bausystem.Permission; import de.steamwar.bausystem.world.Welt; -import org.apache.commons.lang.Validate; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.command.CommandSender; @@ -11,13 +10,11 @@ import org.bukkit.command.defaults.BukkitCommand; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; -import java.util.List; - public class CommandClear extends BukkitCommand { public CommandClear() { super("clear"); - description = "Leere dein Inventar oder das eines anderem Spielers."; + description = "Leere dein Inventar oder das eines anderen Spielers."; usageMessage = "/clear [Spieler]"; } public boolean execute(CommandSender sender, String currentAlias, String[] args) { @@ -31,7 +28,7 @@ public class CommandClear extends BukkitCommand { } // check if admin if(Welt.noPermission(player, Permission.world)){ - player.sendMessage(BauSystem.PREFIX + "§cDu darfst hier keine fremden Invenatre leeren."); + player.sendMessage(BauSystem.PREFIX + "Du darfst hier keine fremden Invenatre leeren."); return false; } Player target = Bukkit.getPlayerExact(args[1]);