From d3cff066f5c42a15a6be97bd14b4a293424046f1 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 4 Sep 2021 23:09:50 +0200 Subject: [PATCH] Correct rotating? Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/fight/FightSchematic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java index 4132169..892728c 100644 --- a/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java +++ b/FightSystem_Core/src/de/steamwar/fightsystem/fight/FightSchematic.java @@ -136,7 +136,7 @@ public class FightSchematic extends StateDependent { Config.WaterDepth != 0 ? Config.WaterDepth - WorldeditWrapper.impl.getWaterDepth(clipboard) : 0, -(Config.PasteAligned && Config.BlueToRedZ != 0 ? region.getSizeZ() : dims.getBlockZ())/2.0 ), - new AffineTransform().rotateY(rotate ? 180 : 0) + new AffineTransform().rotateY(rotate ? 180 : 0).translate(rotate ? 0.5 : 0, 0, rotate ? 0.5 : 0) ); Bukkit.getScheduler().runTaskLater(FightSystem.getPlugin(), freezer::disable, 3);