mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-10 10:31:49 +01:00
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:
commit
a2868cbc4f
@ -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]);
|
Msg.msg(s, "&cFailed to find player: &f" + args[1]);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user