Fixed being unable to kick party members.

This commit is contained in:
GJ 2013-04-17 07:05:28 -04:00
parent 07ba7a8d9e
commit be76fe61d8

View File

@ -21,7 +21,7 @@ public class PartyKickCommand implements CommandExecutor {
Party playerParty = UserManager.getPlayer(sender.getName()).getParty();
OfflinePlayer target = mcMMO.p.getServer().getOfflinePlayer(args[1]);
if (!playerParty.getMembers().contains(target)) {
if (!playerParty.getMembers().contains(target.getName())) {
sender.sendMessage(LocaleLoader.getString("Party.NotInYourParty", args[1]));
return true;
}