mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-17 04:54:42 +02:00
Removing redundancy in most commands
This commit is contained in:
@ -34,11 +34,6 @@ public class AddlevelsCommand implements CommandExecutor{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!LoadProperties.addlevelsEnable) {
|
||||
sender.sendMessage("This command is not enabled.");
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!(sender instanceof Player)) {
|
||||
if (args.length < 2) {
|
||||
System.out.println("Usage is /addlevels playername skillname levels");
|
||||
|
Reference in New Issue
Block a user