mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-12 13:53:54 +00:00
removal of aero
This commit is contained in:
@ -10,10 +10,6 @@ public class FLog
|
||||
private static Logger serverLogger = null;
|
||||
private static Logger pluginLogger = null;
|
||||
|
||||
private FLog()
|
||||
{
|
||||
}
|
||||
|
||||
// Level.INFO:
|
||||
public static void info(String message)
|
||||
{
|
||||
|
@ -40,6 +40,7 @@ import org.bukkit.OfflinePlayer;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.player.PlayerLoginEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
@ -704,6 +705,16 @@ public class FUtil
|
||||
return tz < -12 || tz > 12;
|
||||
}
|
||||
|
||||
public static String getIp(Player player)
|
||||
{
|
||||
return player.getAddress().getAddress().getHostAddress().trim();
|
||||
}
|
||||
|
||||
public static String getIp(PlayerLoginEvent event)
|
||||
{
|
||||
return event.getAddress().getHostAddress().trim();
|
||||
}
|
||||
|
||||
private static class MojangResponse
|
||||
{
|
||||
String id;
|
||||
|
Reference in New Issue
Block a user