Skip to content

Commit 244981a

Browse files
committed
fix: correct height that FAWE ends up using for schematics
- this did not end up having an impact on P2 code as it always used getMinBuildHeight when PASTE_ON_TOP was false anyway - there should not be any side effects to this as any uses this specific SCHEM_Y value are effectively normalised against it
1 parent 5946444 commit 244981a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/src/main/java/com/plotsquared/core/generator/HybridPlotWorld.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public void setupSchematics() throws SchematicHandler.UnsupportedFormatException
276276
SCHEM_Y = getMinGenHeight();
277277
plotY = 0;
278278
} else if (!Settings.Schematics.PASTE_ON_TOP) {
279-
SCHEM_Y = getMinGenHeight();
279+
SCHEM_Y = getMinBuildHeight();
280280
plotY = 0;
281281
}
282282
}

0 commit comments

Comments
 (0)