From 5f93b3f0231b1bbbfcb8b2298782cfa92193af1d Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 7 Jan 2020 21:30:04 +0100 Subject: [PATCH] added /clear command and registered it in BauSystem.java --- .../src/de/steamwar/bausystem/commands/CommandClear.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java index 89ad3c8..175a7af 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/commands/CommandClear.java @@ -52,11 +52,4 @@ public class CommandClear extends BukkitCommand { player.getInventory().setLeggings(new ItemStack(Material.AIR)); player.getInventory().setBoots(new ItemStack(Material.AIR)); } - public List tabComplete(CommandSender sender, String alias, String[] args) throws IllegalArgumentException { - Validate.notNull(sender, "Sender cannot be null"); - Validate.notNull(args, "Arguments cannot be null"); - Validate.notNull(alias, "Alias cannot be null"); - - return super.tabComplete(sender, alias, args); - } }