revert 190f5c
This commit is contained in:
@@ -2809,10 +2809,14 @@ public class GriefPrevention extends JavaPlugin
|
|||||||
//if failed, try ignore case
|
//if failed, try ignore case
|
||||||
if (bestMatchID == null)
|
if (bestMatchID == null)
|
||||||
{
|
{
|
||||||
return this.getServer().getOfflinePlayer(bestMatchID);
|
bestMatchID = this.playerNameToIDMap.get(name.toLowerCase());
|
||||||
|
}
|
||||||
|
if (bestMatchID == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.getServer().getOfflinePlayer(name);
|
return this.getServer().getOfflinePlayer(bestMatchID);
|
||||||
}
|
}
|
||||||
|
|
||||||
//helper method to resolve a player name from the player's UUID
|
//helper method to resolve a player name from the player's UUID
|
||||||
|
|||||||
Reference in New Issue
Block a user