From a416f5117e795180a90aa61ecfa4eacfab7124d4 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 15 Apr 2020 13:07:46 +0200 Subject: [PATCH 1/3] Fix 1 Block Offset 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 6cf9c5c..18901a0 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 + 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, 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); } From 4f846a4831b54e3ae56845bc0be9b3de1da9d0c2 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 15 Apr 2020 14:57:54 +0200 Subject: [PATCH 2/3] 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); } From 9fdcb52157c3fb1e183e21668883cbeabf3d4ee4 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Wed, 15 Apr 2020 14:58:26 +0200 Subject: [PATCH 3/3] Fix MWG positioning 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 6cf9c5c..d1b526a 100644 --- a/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java +++ b/FightSystem_14/src/de/steamwar/fightsystem/fight/FightTeam_14.java @@ -73,7 +73,7 @@ class FightTeam_14 { aT = aT.rotateY(180); 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); + v = paste.subtract(dimensions.getX()/2, 0, dimensions.getZ()/2 - dimensions.getZ()%2).subtract(offset); } if(Config.AlignWater){