Reformat code

This commit is contained in:
2022-02-26 00:26:42 -06:00
parent 817cb03dca
commit 3f3bba57ac
20 changed files with 101 additions and 110 deletions

View File

@ -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)
{

View File

@ -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();
}
}