From 4b820462e39f1703c0c998d60fb36a9edef129c9 Mon Sep 17 00:00:00 2001 From: sisby-folk Date: Sat, 13 Jul 2024 13:44:37 +1000 Subject: [PATCH] bump --- gradle.properties | 2 +- libs.versions.toml | 2 +- src/main/java/folk/sisby/antique_atlas/gui/AtlasScreen.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 3c7e2144..0a7038be 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,6 +7,6 @@ org.gradle.configureondemand=true # Enable advanced multi-module optimizations (share tiny-remaper instance between projects) fabric.loom.multiProjectOptimisation=true # Mod Properties -baseVersion = 2.9.11 +baseVersion = 2.9.12 defaultBranch = 1.20 branch = 1.20 diff --git a/libs.versions.toml b/libs.versions.toml index 358e6be7..eed37491 100644 --- a/libs.versions.toml +++ b/libs.versions.toml @@ -8,7 +8,7 @@ fl = "0.15.0" yarn = "1.20.1+build.10" fapi = "0.83.0+1.20.1" kaleidoConfig = "0.3.1+1.3.1" -surveyor = "0.6.10+1.20" +surveyor = "0.6.11+1.20" [plugins] loom = { id = "fabric-loom", version.ref = "loom" } diff --git a/src/main/java/folk/sisby/antique_atlas/gui/AtlasScreen.java b/src/main/java/folk/sisby/antique_atlas/gui/AtlasScreen.java index 0f510146..30b4266b 100644 --- a/src/main/java/folk/sisby/antique_atlas/gui/AtlasScreen.java +++ b/src/main/java/folk/sisby/antique_atlas/gui/AtlasScreen.java @@ -726,7 +726,7 @@ private void renderPlayer(DrawContext context, PlayerSummary player, float iconS float tint = (player.online() ? 1 : 0.5f) * (hovering ? 0.9f : 1); float greenTint = self ? 1 : 0.7f; RenderSystem.setShaderColor(tint, tint * greenTint, tint, state.is(PLACING_MARKER) ? 0.5f : 1); - float playerRotation = (float) Math.round(player.yaw() / 360f * PLAYER_ROTATION_STEPS) / PLAYER_ROTATION_STEPS * 360f; + float playerRotation = ((float) Math.round(player.yaw() / 360f * PLAYER_ROTATION_STEPS) / PLAYER_ROTATION_STEPS) * 360f; DrawUtil.drawCenteredWithRotation(context, PLAYER, playerOffsetX, playerOffsetY, iconScale, PLAYER_ICON_WIDTH, PLAYER_ICON_HEIGHT, playerRotation);