Actually initialise the biome array in HybridPlotWorlds.

Fixes generation using schematics (and allows generation using biomes in schematics for roads and plots....)
This commit is contained in:
dordsor21 2020-03-25 17:46:08 +00:00
parent f2f7fbce09
commit f9bf576d2e

View file

@ -143,6 +143,7 @@ public class HybridPlotWorld extends ClassicPlotWorld {
public void setupSchematics() throws SchematicHandler.UnsupportedFormatException {
this.G_SCH = new HashMap<>();
this.G_SCH_B = new HashMap<>();
File root = MainUtil.getFile(PlotSquared.get().IMP.getDirectory(),
"schematics/GEN_ROAD_SCHEMATIC/" + this.worldname);
File schematic1File = new File(root, "sideroad.schem");