From 140513fee30993fcec0780ca4a3cfc01d418cd26 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 9 Apr 2021 16:18:57 +0200 Subject: [PATCH] Add rotate of schematic if pasted as testblock, when check type or fight type --- .../src/de/steamwar/bausystem/world/regions/Prototype.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/regions/Prototype.java b/BauSystem_Main/src/de/steamwar/bausystem/world/regions/Prototype.java index 5866b2e..9d91052 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/regions/Prototype.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/regions/Prototype.java @@ -151,6 +151,9 @@ public class Prototype { if (schem == null) { return paste(new File(schematic), x, y, z, rotate, ignoreAir, color); } else { + if (schem.getSchemType().fightType() || schem.getSchemType().check()) { + return paste(schem.load(), x, y, z, !rotate, ignoreAir, color); + } return paste(schem.load(), x, y, z, rotate, ignoreAir, color); } } -- 2.39.2