mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Actually add biomes to road schematics
This commit is contained in:
parent
37336fffe2
commit
9764d4d226
1 changed files with 8 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue