aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/me/Danker/utils/Utils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/utils/Utils.java b/src/main/java/me/Danker/utils/Utils.java
index 0a6cebc..45479f7 100644
--- a/src/main/java/me/Danker/utils/Utils.java
+++ b/src/main/java/me/Danker/utils/Utils.java
@@ -127,7 +127,7 @@ public class Utils {
public static void drawOnSlot(int size, int xSlotPos, int ySlotPos, int colour) {
ScaledResolution sr = new ScaledResolution(Minecraft.getMinecraft());
int guiLeft = (sr.getScaledWidth() - 176) / 2;
- int guiTop = (sr.getScaledHeight() - 221) / 2;
+ int guiTop = (sr.getScaledHeight() - 222) / 2;
int x = guiLeft + xSlotPos;
int y = guiTop + ySlotPos;
// Move down when chest isn't 6 rows