From 43d134cbe3e16d1cf99537e3229614e075790a5b Mon Sep 17 00:00:00 2001 From: darbyjack Date: Sat, 25 Apr 2020 21:57:40 -0500 Subject: [PATCH] Fixes the super old issue of not being able to parse on first join --- .../me/clip/placeholderapi/commands/PlaceholderAPICommands.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/PlaceholderAPICommands.java b/src/main/java/me/clip/placeholderapi/commands/PlaceholderAPICommands.java index 2d5a5f8..9145f59 100644 --- a/src/main/java/me/clip/placeholderapi/commands/PlaceholderAPICommands.java +++ b/src/main/java/me/clip/placeholderapi/commands/PlaceholderAPICommands.java @@ -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; }