mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-10-31 21:47:10 +00:00
Merge branch 'development' into Elmon11-patch-2
This commit is contained in:
commit
b711ed517f
@ -752,7 +752,7 @@ public class FUtil
|
|||||||
|
|
||||||
public static String getIp(Player player)
|
public static String getIp(Player player)
|
||||||
{
|
{
|
||||||
return Objects.requireNonNull(player.getAddress()).getAddress().getHostAddress().trim();
|
return player.getAddress().getAddress().getHostAddress().trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getIp(PlayerLoginEvent event)
|
public static String getIp(PlayerLoginEvent event)
|
||||||
|
Loading…
Reference in New Issue
Block a user