True, not false.

This commit is contained in:
GJ 2013-02-12 15:00:04 -05:00
parent d7e74b9fe0
commit 92473cc56d

View File

@ -32,14 +32,14 @@ public class PartyInviteCommand implements CommandExecutor {
case 2: case 2:
if (!mcMMO.p.getServer().getOfflinePlayer(args[1]).isOnline()) { if (!mcMMO.p.getServer().getOfflinePlayer(args[1]).isOnline()) {
sender.sendMessage(LocaleLoader.getString("Party.NotOnline", args[1])); sender.sendMessage(LocaleLoader.getString("Party.NotOnline", args[1]));
return false; return true;
} }
mcMMOTarget = Users.getPlayer(args[1]); mcMMOTarget = Users.getPlayer(args[1]);
if (mcMMOTarget == null) { if (mcMMOTarget == null) {
sender.sendMessage(LocaleLoader.getString("Party.Player.Invalid")); sender.sendMessage(LocaleLoader.getString("Party.Player.Invalid"));
return false; return true;
} }
target = mcMMOTarget.getPlayer(); target = mcMMOTarget.getPlayer();