This commit is contained in:
Len 2022-05-24 21:37:00 +02:00
parent db7130dd63
commit 9f356fad31

View File

@ -2807,7 +2807,7 @@ public class GriefPrevention extends JavaPlugin
UUID bestMatchID = this.playerNameToIDMap.get(name);
//if failed, try ignore case
if (bestMatchID != null)
if (bestMatchID == null)
{
return this.getServer().getOfflinePlayer(bestMatchID);
}