mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-02 07:56:42 +00:00
Reformat code
This commit is contained in:
@ -8,8 +8,8 @@ import org.bukkit.generator.ChunkGenerator;
|
||||
|
||||
public abstract class CustomChunkGenerator extends ChunkGenerator
|
||||
{
|
||||
protected int height;
|
||||
private final List<BlockPopulator> populators;
|
||||
protected int height;
|
||||
|
||||
protected CustomChunkGenerator(int height, BlockPopulator... populators)
|
||||
{
|
||||
|
@ -24,17 +24,6 @@ public class CustomWorld extends WorldCreator
|
||||
this.generator(this.chunks);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChunkGenerator generator()
|
||||
{
|
||||
return chunks;
|
||||
}
|
||||
|
||||
public World generate()
|
||||
{
|
||||
return this.createWorld();
|
||||
}
|
||||
|
||||
public static World generateConfigFlatWorld(String name)
|
||||
{
|
||||
if (!plugin.config.contains("worlds." + name))
|
||||
@ -66,4 +55,15 @@ public class CustomWorld extends WorldCreator
|
||||
};
|
||||
return customWorld.generate();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ChunkGenerator generator()
|
||||
{
|
||||
return chunks;
|
||||
}
|
||||
|
||||
public World generate()
|
||||
{
|
||||
return this.createWorld();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user