Actually add biomes to road schematics

This commit is contained in:
dordsor21 2020-03-28 10:43:24 +00:00
parent 37336fffe2
commit 9764d4d226

View File

@ -281,6 +281,11 @@ public class HybridPlotWorld extends ClassicPlotWorld {
(short) (shift - x + (oddshift - 1)), id, true, h1);
}
}
BiomeType biome = blockArrayClipboard1
.getBiome(BlockVector2.at(x + min.getBlockX(), z + min.getBlockZ()));
addOverlayBiome((short) (x - shift), (short) (z + shift + oddshift), biome);
addOverlayBiome((short) (z + shift + oddshift),
(short) (shift - x + (oddshift - 1)), biome);
}
}
@ -300,6 +305,9 @@ public class HybridPlotWorld extends ClassicPlotWorld {
(short) (z - shift), id, false, h2);
}
}
BiomeType biome = blockArrayClipboard1
.getBiome(BlockVector2.at(x + min.getBlockX(), z + min.getBlockZ()));
addOverlayBiome((short) (x - shift), (short) (z - shift), biome);
}
}
}