Fix offline trusting?
This commit is contained in:
@@ -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