From f9bf576d2ed2f25cbe76f7dd0077a125dc13409e Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Wed, 25 Mar 2020 17:46:08 +0000 Subject: [PATCH] Actually initialise the biome array in HybridPlotWorlds. Fixes generation using schematics (and allows generation using biomes in schematics for roads and plots....) --- .../plotsquared/plot/generator/HybridPlotWorld.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java index 61c658013..988403076 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/generator/HybridPlotWorld.java @@ -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");