Version up. Adds bedrock block to put end exit island high up.

This commit is contained in:
tastybento 2019-02-05 23:28:09 -08:00
parent 475988d451
commit 9cc53733dd
2 changed files with 6 additions and 4 deletions

View File

@ -6,7 +6,7 @@
<groupId>world.bentobox</groupId>
<artifactId>bskyblock</artifactId>
<version>1.2.1-SNAPSHOT</version>
<version>1.3.0-SNAPSHOT</version>
<name>BSkyBlock</name>
<description>BSkyBlock is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like SkyBlock or AcidIsland.</description>
@ -91,7 +91,7 @@
<dependency>
<groupId>world.bentobox</groupId>
<artifactId>bentobox</artifactId>
<version>1.2.0</version>
<version>1.3.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>

View File

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