Fixes the super old issue of not being able to parse on first join

This commit is contained in:
darbyjack 2020-04-25 21:57:40 -05:00
parent e023c4e789
commit 43d134cbe3
No known key found for this signature in database
GPG Key ID: 597C501782382437

View File

@ -204,7 +204,7 @@ public class PlaceholderAPICommands implements CommandExecutor {
}
}
if (pl == null || !pl.hasPlayedBefore()) {
if (pl == null || (!pl.hasPlayedBefore() && !pl.isOnline())) {
Msg.msg(s, "&cFailed to find player: &f" + args[1]);
return true;
}