From 4f846a4831b54e3ae56845bc0be9b3de1da9d0c2 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 15 Apr 2020 14:57:54 +0200 Subject: [PATCH] Revert "Fix 1 Block Offset" This reverts commit a416f511 Signed-off-by: Lixfel --- .../src/de/steamwar/fightsystem/fight/FightTeam_14.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java b/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java index 18901a0..6cf9c5c 100644 --- a/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java +++ b/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java @@ -71,7 +71,7 @@ class FightTeam_14 { AffineTransform aT = new AffineTransform(); if(rotate){ aT = aT.rotateY(180); - v = paste.add(dimensions.getX()/2, 0, dimensions.getZ()/2 + dimensions.getZ()%2).subtract(offset.multiply(-1, 1, -1)).subtract(1, 0, 1); + v = paste.add(dimensions.getX()/2 + dimensions.getX()%2, 0, dimensions.getZ()/2 + dimensions.getZ()%2).subtract(offset.multiply(-1, 1, -1)).subtract(1, 0, 1); }else{ v = paste.subtract(dimensions.getX()/2 - dimensions.getX()%2, 0, dimensions.getZ()/2 - dimensions.getZ()%2).subtract(offset); }