mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 22:14:45 +00:00
Update WarCommands.java
This commit is contained in:
1 parent
70c5a291a0
commit
8b6564bda7
1 file changed
+4
@@ -93,6 +93,10 @@ public class WarCommands implements CommandExecutor
|
||||
}
|
||||
}
|
||||
else if (args[0].equalsIgnoreCase("delete")) {
|
||||
if (args.length != 2) {
|
||||
p.sendMessage(Helper.Chatlabel() + Helper.color("&cInvalid Arguements. /war delete [name]"));
|
||||
return false;
|
||||
}
|
||||
String deleteTarget = args[1];
|
||||
if (!p.hasPermission("AlathraWar.admin")) {
|
||||
p.sendMessage(String.valueOf(Helper.Chatlabel()) + Helper.color("&cYou do not have permission to do this"));
|
||||
|
||||
Reference in new issue
Block a user