From 60930dc500dc52ad11bbfc846fcc554c34d2bb16 Mon Sep 17 00:00:00 2001 From: sirjonasxx <36828922+sirjonasxx@users.noreply.github.com> Date: Tue, 11 Jul 2023 21:38:58 +0200 Subject: [PATCH] relative heights in snapshot --- src/main/java/extension/tools/GPresetExporter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/extension/tools/GPresetExporter.java b/src/main/java/extension/tools/GPresetExporter.java index 4a64129..a39d2b6 100644 --- a/src/main/java/extension/tools/GPresetExporter.java +++ b/src/main/java/extension/tools/GPresetExporter.java @@ -382,6 +382,7 @@ else if (classname.startsWith("wf_slc_")) { oldLocation.getX() - x, oldLocation.getY() - y )); + b.setAltitude(b.getAltitude() - lowestFloorPoint * 100); } }); allAdsBackgrounds.forEach(a -> {