mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-30 03:56:42 +00:00
Added checkstyle plugin
Moved resources to correct folder Fixed and improved build information, no longer tracking build.properties
This commit is contained in:
@ -12,7 +12,8 @@ import org.bukkit.material.MaterialData;
|
||||
@SuppressWarnings("deprecation")
|
||||
public class DepreciationAggregator
|
||||
{
|
||||
public static Block getTargetBlock(LivingEntity entity, HashSet< Byte> transparent, int maxDistance)
|
||||
|
||||
public static Block getTargetBlock(LivingEntity entity, HashSet<Byte> transparent, int maxDistance)
|
||||
{
|
||||
return entity.getTargetBlock(transparent, maxDistance);
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ import java.util.logging.Logger;
|
||||
|
||||
public class FLog
|
||||
{
|
||||
|
||||
private static final Logger FALLBACK_LOGGER = Logger.getLogger("Minecraft-Server");
|
||||
private static Logger serverLogger = null;
|
||||
private static Logger pluginLogger = null;
|
||||
|
@ -860,8 +860,7 @@ public class FUtil
|
||||
catch (IllegalAccessException ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (checkClass.getSuperclass() != Object.class
|
||||
} while (checkClass.getSuperclass() != Object.class
|
||||
&& ((checkClass = checkClass.getSuperclass()) != null));
|
||||
|
||||
return null;
|
||||
@ -877,16 +876,16 @@ public class FUtil
|
||||
return ChatColor.translateAlternateColorCodes('&', string);
|
||||
}
|
||||
|
||||
public static long getUnixTime()
|
||||
{
|
||||
return System.currentTimeMillis() / 1000L;
|
||||
}
|
||||
|
||||
public static Date getUnixDate(long unix)
|
||||
{
|
||||
return new Date(unix * 1000);
|
||||
}
|
||||
|
||||
public static long getUnixTime()
|
||||
{
|
||||
return System.currentTimeMillis() / 1000L;
|
||||
}
|
||||
|
||||
public static long getUnixTime(Date date)
|
||||
{
|
||||
if (date == null)
|
||||
|
Reference in New Issue
Block a user