Added checkstyle plugin

Moved resources to correct folder
Fixed and improved build information, no longer tracking build.properties
This commit is contained in:
JeromSar
2015-11-22 19:26:47 +01:00
parent 89a317b7df
commit a0058869c9
174 changed files with 1302 additions and 617 deletions

View File

@ -23,6 +23,7 @@ import org.bukkit.event.player.PlayerMoveEvent;
public final class AdminWorld extends CustomWorld
{
private static final long CACHE_CLEAR_FREQUENCY = 30L * 1000L; //30 seconds, milliseconds
private static final long TP_COOLDOWN_TIME = 500L; //0.5 seconds, milliseconds
private static final String GENERATION_PARAMETERS = ConfigEntry.FLATLANDS_GENERATE_PARAMS.getString();

View File

@ -33,6 +33,7 @@ import org.bukkit.generator.ChunkGenerator;
@SuppressWarnings("deprecation")
public class CleanroomChunkGenerator extends ChunkGenerator
{
private static final Logger log = Bukkit.getLogger();
private short[] layer;
private byte[] layerDataValues;

View File

@ -10,6 +10,7 @@ import org.bukkit.entity.Player;
public abstract class CustomWorld extends PluginComponent<TotalFreedomMod>
{
@Getter
private final String name;
//

View File

@ -16,9 +16,8 @@ import org.bukkit.block.BlockFace;
public class Flatlands extends CustomWorld
{
private static final String GENERATION_PARAMETERS = ConfigEntry.FLATLANDS_GENERATE_PARAMS.getString();
;
private static final String GENERATION_PARAMETERS = ConfigEntry.FLATLANDS_GENERATE_PARAMS.getString();
public Flatlands()
{

View File

@ -7,6 +7,7 @@ import org.bukkit.World;
public enum WorldTime
{
INHERIT(),
SUNRISE("sunrise,morning", 0),
NOON("noon,midday,day", 6000),

View File

@ -7,6 +7,7 @@ import org.bukkit.World;
public enum WorldWeather
{
OFF("off"),
RAIN("rain"),
STORM("storm,thunderstorm");