mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-29 04:18:02 +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