mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-30 06:03:29 +01:00
Merge branch 'patch-1' into 'master'
Biome actually changes See merge request Songoda/SkyBlock!5
This commit is contained in:
commit
12abcabcf1
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user