From 58738e86dcd97db43c1dda148c3981b30ff86b56 Mon Sep 17 00:00:00 2001 From: Adrian M Date: Mon, 11 Feb 2019 19:46:24 +0000 Subject: [PATCH] Biome actually changes --- src/main/java/me/goodandevil/skyblock/biome/BiomeManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/goodandevil/skyblock/biome/BiomeManager.java b/src/main/java/me/goodandevil/skyblock/biome/BiomeManager.java index f998f4af..8322688c 100644 --- a/src/main/java/me/goodandevil/skyblock/biome/BiomeManager.java +++ b/src/main/java/me/goodandevil/skyblock/biome/BiomeManager.java @@ -28,7 +28,7 @@ public class BiomeManager { int radius = (int) Math.ceil(island.getRadius()); 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); Chunk chunk = location.getWorld().getChunkAt(x >> 4, z >> 4); if (!chunks.contains(chunk))