Merge pull request #294 from PlaceholderAPI/fixes/first-time-parse

Fixes the super old issue of not being able to parse on first join
This commit is contained in:
Glare 2020-04-26 12:19:09 -05:00 committed by GitHub
commit a2868cbc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}