mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-01 23:13:33 +01:00
Fixes the super old issue of not being able to parse on first join
This commit is contained in:
parent
e023c4e789
commit
43d134cbe3
@ -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