mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 08:36:45 +01:00
True, not false.
This commit is contained in:
parent
d7e74b9fe0
commit
92473cc56d
@ -32,14 +32,14 @@ public class PartyInviteCommand implements CommandExecutor {
|
||||
case 2:
|
||||
if (!mcMMO.p.getServer().getOfflinePlayer(args[1]).isOnline()) {
|
||||
sender.sendMessage(LocaleLoader.getString("Party.NotOnline", args[1]));
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
mcMMOTarget = Users.getPlayer(args[1]);
|
||||
|
||||
if (mcMMOTarget == null) {
|
||||
sender.sendMessage(LocaleLoader.getString("Party.Player.Invalid"));
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
target = mcMMOTarget.getPlayer();
|
||||
|
Loading…
Reference in New Issue
Block a user