added /clear <Player> command and registered it in BauSystem.java
Dieser Commit ist enthalten in:
Ursprung
432af1d6f6
Commit
5f93b3f023
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren