Removing redundancy in most commands

This commit is contained in:
nossr50
2012-02-28 11:17:54 -08:00
parent e31aea3492
commit 1281843d45
20 changed files with 2 additions and 125 deletions

View File

@ -17,10 +17,6 @@ import com.gmail.nossr50.party.Party;
public class PartyCommand implements CommandExecutor {
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if (!LoadProperties.partyEnable) {
sender.sendMessage("This command is not enabled.");
return true;
}
if (!(sender instanceof Player)) {
sender.sendMessage("This command does not support console useage.");