mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-04 09:10:17 +01:00
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:
parent
f2f7fbce09
commit
f9bf576d2e
@ -143,6 +143,7 @@ public class HybridPlotWorld extends ClassicPlotWorld {
|
|||||||
|
|
||||||
public void setupSchematics() throws SchematicHandler.UnsupportedFormatException {
|
public void setupSchematics() throws SchematicHandler.UnsupportedFormatException {
|
||||||
this.G_SCH = new HashMap<>();
|
this.G_SCH = new HashMap<>();
|
||||||
|
this.G_SCH_B = new HashMap<>();
|
||||||
File root = MainUtil.getFile(PlotSquared.get().IMP.getDirectory(),
|
File root = MainUtil.getFile(PlotSquared.get().IMP.getDirectory(),
|
||||||
"schematics/GEN_ROAD_SCHEMATIC/" + this.worldname);
|
"schematics/GEN_ROAD_SCHEMATIC/" + this.worldname);
|
||||||
File schematic1File = new File(root, "sideroad.schem");
|
File schematic1File = new File(root, "sideroad.schem");
|
||||||
|
Loading…
Reference in New Issue
Block a user