Had the naming backwards, it's actually /party expshare

This commit is contained in:
GJ 2013-02-08 11:51:06 -05:00
parent e14f8ad93c
commit 33d3cd0522
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ public class PartyCommand implements CommandExecutor {
private CommandExecutor partyAcceptCommand = new PartyAcceptCommand(); private CommandExecutor partyAcceptCommand = new PartyAcceptCommand();
private CommandExecutor partyCreateCommand = new PartyCreateCommand(); private CommandExecutor partyCreateCommand = new PartyCreateCommand();
private CommandExecutor partyQuitCommand = new PartyQuitCommand(); private CommandExecutor partyQuitCommand = new PartyQuitCommand();
private CommandExecutor partyShareExpCommand = new PartyShareExpCommand(); private CommandExecutor partyExpShareCommand = new PartyExpShareCommand();
@Override @Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
@ -69,7 +69,7 @@ public class PartyCommand implements CommandExecutor {
return partyQuitCommand.onCommand(sender, command, label, args); return partyQuitCommand.onCommand(sender, command, label, args);
} }
else if (args[0].equalsIgnoreCase("expshare")) { else if (args[0].equalsIgnoreCase("expshare")) {
return partyShareExpCommand.onCommand(sender, command, label, args); return partyExpShareCommand.onCommand(sender, command, label, args);
} }
else if (args[0].equalsIgnoreCase("itemshare")) { else if (args[0].equalsIgnoreCase("itemshare")) {
return shareItem(); return shareItem();

View File

@ -13,7 +13,7 @@ import com.gmail.nossr50.util.Misc;
import com.gmail.nossr50.util.Permissions; import com.gmail.nossr50.util.Permissions;
import com.gmail.nossr50.util.Users; import com.gmail.nossr50.util.Users;
public class PartyShareExpCommand implements CommandExecutor { public class PartyExpShareCommand implements CommandExecutor {
private Player player; private Player player;
private Party playerParty; private Party playerParty;