aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-07-06 15:52:05 -0400
committerTymanWasTaken <tyman@tyman.tech>2021-07-06 15:52:05 -0400
commitb2b3c1fdc719dfbd8da70ce133f09e20b560e595 (patch)
treedcfde896b55557c36496237a23a1b949c3229379 /src/main/java/com
parent1a8c2d31bdaf9f7a1622235dbeaefc5d9bb8603c (diff)
downloadSkyblockHud-Death-Defied-b2b3c1fdc719dfbd8da70ce133f09e20b560e595.tar.gz
SkyblockHud-Death-Defied-b2b3c1fdc719dfbd8da70ce133f09e20b560e595.tar.bz2
SkyblockHud-Death-Defied-b2b3c1fdc719dfbd8da70ce133f09e20b560e595.zip
Fix coordinate centering
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java
index d2946ef..eaed920 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/handlers/MapHandler.java
@@ -139,7 +139,7 @@ public class MapHandler {
Utils.drawStringCenteredScaled(keyCode, mc.fontRendererObj, pos.getAbsX(event.resolution, 64) + 58,pos.getAbsY(event.resolution, 72) + 66, false, 6,0xFFFFFF);
BlockPos playerPos = mc.thePlayer.getPosition();
String position = String.format("%d/%d/%d", playerPos.getX(), playerPos.getY(), playerPos.getZ());
- Utils.drawStringCenteredScaled(position, mc.fontRendererObj, pos.getAbsX(event.resolution, 64) + 30,pos.getAbsY(event.resolution, 72) + 66, false, 36,0xFFFFFF);
+ Utils.drawStringCenteredScaled(position, mc.fontRendererObj, pos.getAbsX(event.resolution, 64) + 29,pos.getAbsY(event.resolution, 72) + 66, false, 36,0xFFFFFF);
GlStateManager.color(1.0f,1.0f, 1.0f,1.0f);
}
}