Fix offline trusting?
This commit is contained in:
1 parent
56ad239cbc
commit
f2e6443c4f
1 file changed
+3
-1
@@ -2808,8 +2808,10 @@ public class GriefPrevention extends JavaPlugin
|
||||
Player targetPlayer = this.getServer().getPlayerExact(name);
|
||||
if (targetPlayer != null) return targetPlayer;
|
||||
|
||||
UUID bestMatchID = null;
|
||||
|
||||
//try exact match first
|
||||
UUID bestMatchID = this.playerNameToIDMap.get(name);
|
||||
bestMatchID = this.playerNameToIDMap.get(name);
|
||||
|
||||
//if failed, try ignore case
|
||||
if (bestMatchID == null)
|
||||
|
||||
Reference in new issue
Block a user