diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/pipeline/CollideStage.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/pipeline/CollideStage.java b/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/pipeline/CollideStage.java index 187dc9f9..5f4cb1c9 100644 --- a/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/pipeline/CollideStage.java +++ b/src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/pipeline/CollideStage.java @@ -70,7 +70,7 @@ public class CollideStage extends PipelineStage { int yMin = w.getY(); int yMax = w.getY() + w.getHeight(); - int xCor = screenW / 2; + int xCor = screenW; for (Widget other : secondary) { if (other.getY() + other.getHeight() + ScreenConst.WIDGET_PAD < yMin) { @@ -93,7 +93,7 @@ public class CollideStage extends PipelineStage { int yMin = w.getY(); int yMax = w.getY() + w.getHeight(); - int xCor = screenW / 2; + int xCor = 0; for (Widget other : secondary) { if (other.getY() + other.getHeight() + ScreenConst.WIDGET_PAD < yMin) { @@ -116,7 +116,7 @@ public class CollideStage extends PipelineStage { int xMin = w.getX(); int xMax = w.getX() + w.getWidth(); - int yCor = screenH / 2; + int yCor = screenH; for (Widget other : secondary) { if (other.getX() + other.getWidth() + ScreenConst.WIDGET_PAD < xMin) { @@ -139,7 +139,7 @@ public class CollideStage extends PipelineStage { int xMin = w.getX(); int xMax = w.getX() + w.getWidth(); - int yCor = screenH / 2; + int yCor = 0; for (Widget other : secondary) { if (other.getX() + other.getWidth() + ScreenConst.WIDGET_PAD < xMin) { |