mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-13 14:58:35 +00:00
Don't write spoofed UUIDs to cache
This commit is contained in:
@ -151,7 +151,7 @@ public class TFM_Util
|
||||
|
||||
public static String getIp(OfflinePlayer player)
|
||||
{
|
||||
if (player instanceof Player)
|
||||
if (player.isOnline())
|
||||
{
|
||||
return player.getPlayer().getAddress().getAddress().getHostAddress().trim();
|
||||
}
|
||||
|
Reference in New Issue
Block a user