mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Actually add biomes to road schematics
This commit is contained in:
parent
37336fffe2
commit
9764d4d226
@ -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 New Issue
Block a user