aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me
diff options
context:
space:
mode:
authormsg-programs <msgdoesstuff@gmail.com>2023-08-13 21:54:53 +0200
committermsg-programs <msgdoesstuff@gmail.com>2023-08-13 21:54:53 +0200
commitd68c61410c00148a4e78d65949ca40ec1e31876e (patch)
treedf4721b305834e3da847117797a5439a14b84b2b /src/main/java/me
parent91c734e1736bad4d6f4da83a8db3fd6a7916e8c1 (diff)
downloadSkyblocker-d68c61410c00148a4e78d65949ca40ec1e31876e.tar.gz
Skyblocker-d68c61410c00148a4e78d65949ca40ec1e31876e.tar.bz2
Skyblocker-d68c61410c00148a4e78d65949ca40ec1e31876e.zip
Rework some dungeon screens from the rp, fix collideWith op to make them work correctly
Diffstat (limited to 'src/main/java/me')
-rw-r--r--src/main/java/me/xmrvizzy/skyblocker/skyblock/tabhud/screenbuilder/pipeline/CollideStage.java8
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) {