We check the leader elsewhere.

This commit is contained in:
GJ 2013-02-12 11:23:48 -05:00
parent 6acfba1315
commit a60a6355d2
2 changed files with 0 additions and 10 deletions

View File

@ -29,11 +29,6 @@ public class PartyExpShareCommand implements CommandExecutor {
player = (Player) sender;
playerParty = Users.getPlayer(player).getParty();
if (!playerParty.getLeader().equals(player.getName())) {
sender.sendMessage(LocaleLoader.getString("Party.NotOwner"));
return true;
}
if (args[1].equalsIgnoreCase("none") || args[1].equalsIgnoreCase("off") || args[1].equalsIgnoreCase("false")) {
handleChangingShareMode(ShareMode.NONE);
}

View File

@ -29,11 +29,6 @@ public class PartyItemShareCommand implements CommandExecutor {
player = (Player) sender;
playerParty = Users.getPlayer(player).getParty();
if (!playerParty.getLeader().equals(player.getName())) {
sender.sendMessage(LocaleLoader.getString("Party.NotOwner"));
return true;
}
if (args[1].equalsIgnoreCase("none") || args[1].equalsIgnoreCase("off") || args[1].equalsIgnoreCase("false")) {
handleChangingShareMode(ShareMode.NONE);
}