Merge branch 'patch-1' into 'master'

Biome actually changes

See merge request Songoda/SkyBlock!5
This commit is contained in:
Brianna O'Keefe 2019-02-17 15:01:33 +00:00
commit 12abcabcf1

View File

@ -28,7 +28,7 @@ public class BiomeManager {
int radius = (int) Math.ceil(island.getRadius()); int radius = (int) Math.ceil(island.getRadius());
for (int x = location.getBlockX() - radius; x < location.getBlockX() + radius; x++) { for (int x = location.getBlockX() - radius; x < location.getBlockX() + radius; x++) {
for (int z = location.getBlockX() - radius; z < location.getBlockX() + radius; z++) { for (int z = location.getBlockZ() - radius; z < location.getBlockZ() + radius; z++) {
location.getWorld().setBiome(x, z, biome); location.getWorld().setBiome(x, z, biome);
Chunk chunk = location.getWorld().getChunkAt(x >> 4, z >> 4); Chunk chunk = location.getWorld().getChunkAt(x >> 4, z >> 4);
if (!chunks.contains(chunk)) if (!chunks.contains(chunk))