Fixed /delarea and allowed it to use its own /delarea permission instead.

This commit is contained in:
sk89q 2011-01-08 16:42:09 -08:00
parent 953d1f0aed
commit 119d8b1a81

View File

@ -482,8 +482,8 @@ public boolean onCommand(Player player, String[] split) {
return true;
} else if (split[0].equalsIgnoreCase("/delarea")
&& player.canUseCommand("/definearea")) {
if (split.length < 3) {
&& player.canUseCommand("/delarea")) {
if (split.length < 2) {
player.sendMessage(Colors.Rose + "/delarea <id>");
return true;
}