mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-27 21:15:57 +01:00
Fixed /delarea and allowed it to use its own /delarea permission instead.
This commit is contained in:
parent
953d1f0aed
commit
119d8b1a81
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user