From 333a59479a760314e84a2f5ed2be6e645ae99812 Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sun, 1 Nov 2020 20:59:13 +0100 Subject: [PATCH] Fixing offset bug --- src/de/steamwar/spectatesystem/util/Paster.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/spectatesystem/util/Paster.java b/src/de/steamwar/spectatesystem/util/Paster.java index 63bf309..06da440 100644 --- a/src/de/steamwar/spectatesystem/util/Paster.java +++ b/src/de/steamwar/spectatesystem/util/Paster.java @@ -111,7 +111,7 @@ public class Paster { 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, 0, dimensions.getZ()/2 - dimensions.getZ()%2).subtract(offset); + v = paste.subtract(dimensions.getX()/2, 0, dimensions.getZ()/2).subtract(offset); } if(Config.AlignWater){