mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2024-09-27 04:02:34 +02:00
Use BentoBox 1.16.1
Removed unused class.
This commit is contained in:
parent
8971755bf0
commit
253fcf6483
2
pom.xml
2
pom.xml
@ -59,7 +59,7 @@
|
||||
<powermock.version>2.0.2</powermock.version>
|
||||
<!-- More visible way how to change dependency versions -->
|
||||
<spigot.version>1.16.5-R0.1-SNAPSHOT</spigot.version>
|
||||
<bentobox.version>1.16.1-SNAPSHOT</bentobox.version>
|
||||
<bentobox.version>1.16.1</bentobox.version>
|
||||
<!-- Revision variable removes warning about dynamic version -->
|
||||
<revision>${build.version}-SNAPSHOT</revision>
|
||||
<!-- Do not change unless you want different name for local builds. -->
|
||||
|
@ -1,27 +0,0 @@
|
||||
package world.bentobox.boxed.generators;
|
||||
|
||||
import org.bukkit.Material;
|
||||
|
||||
import nl.rutgerkok.worldgeneratorapi.BaseTerrainGenerator;
|
||||
import nl.rutgerkok.worldgeneratorapi.BiomeGenerator;
|
||||
import world.bentobox.boxed.Boxed;
|
||||
|
||||
public class PancakeGenerator implements BaseTerrainGenerator {
|
||||
|
||||
private Boxed addon;
|
||||
|
||||
public PancakeGenerator(Boxed addon) {
|
||||
this.addon = addon;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getHeight(BiomeGenerator biomeGenerator, int x, int z, HeightType type) {
|
||||
return addon.getSettings().getIslandHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setBlocksInChunk(GeneratingChunk chunk) {
|
||||
chunk.getBlocksForChunk().setRegion(0, 0, 0, CHUNK_SIZE, 63, CHUNK_SIZE, Material.STONE);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user