SteamWar/BauSystem
Archiviert
13
0

added /clear <Player> command and registered it in BauSystem.java

Dieser Commit ist enthalten in:
BuildTools 2020-01-07 21:30:04 +01:00
Ursprung 432af1d6f6
Commit 5f93b3f023

Datei anzeigen

@ -52,11 +52,4 @@ public class CommandClear extends BukkitCommand {
player.getInventory().setLeggings(new ItemStack(Material.AIR)); player.getInventory().setLeggings(new ItemStack(Material.AIR));
player.getInventory().setBoots(new ItemStack(Material.AIR)); player.getInventory().setBoots(new ItemStack(Material.AIR));
} }
public List<String> 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);
}
} }