Skip to content

Commit

Permalink
1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Apr 27, 2019
1 parent 11e86a3 commit 3d21b58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.14-pre5-SNAPSHOT</version>
<version>1.14-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.List;
import java.util.Random;

import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.World;
import org.bukkit.World.Environment;
Expand Down Expand Up @@ -35,6 +36,9 @@ public ChunkGeneratorWorld(BSkyBlock addon) {
@Override
public ChunkData generateChunkData(World world, Random random, int chunkX, int chunkZ, ChunkGenerator.BiomeGrid biomeGrid) {
this.rand = random;
if (world.getEnvironment().equals(World.Environment.NETHER)) {
Bukkit.getLogger().info("DEBUG: Nether " + world.getMaxHeight());
}
if (world.getEnvironment().equals(World.Environment.NETHER) && addon.getSettings().isNetherRoof()) {
return generateNetherRoofChunks(world, random);
}
Expand Down

0 comments on commit 3d21b58

Please sign in to comment.