mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue