From 9cc53733dd009e3fd4eca338dd8b44b17bd98959 Mon Sep 17 00:00:00 2001 From: tastybento Date: Tue, 5 Feb 2019 23:28:09 -0800 Subject: [PATCH] Version up. Adds bedrock block to put end exit island high up. --- pom.xml | 4 ++-- .../bentobox/bskyblock/generators/ChunkGeneratorWorld.java | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 81e4539..cab72a0 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ world.bentobox bskyblock - 1.2.1-SNAPSHOT + 1.3.0-SNAPSHOT BSkyBlock BSkyBlock is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like SkyBlock or AcidIsland. @@ -91,7 +91,7 @@ world.bentobox bentobox - 1.2.0 + 1.3.0-SNAPSHOT provided diff --git a/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java b/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java index 9e47fee..e040342 100644 --- a/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java +++ b/src/main/java/world/bentobox/bskyblock/generators/ChunkGeneratorWorld.java @@ -51,8 +51,10 @@ public class ChunkGeneratorWorld extends ChunkGenerator { } } - if (chunkX == 0 && chunkZ == 0) { - result.setBlock(0, 254, 0, Material.BEDROCK); + if (world.getEnvironment().equals(World.Environment.THE_END) + && chunkX == 0 + && chunkZ == 0) { + result.setBlock(0, 255, 0, Material.BEDROCK); } return result; }