diff --git a/gradle.properties b/gradle.properties index 3f279d9..823c97f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -48,7 +48,7 @@ mod_name=Fretux's Skill Engine # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ -mod_version=1.1.0 +mod_version=1.1.1 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/net/fretux/skillengine/client/SkilltreeScreen.java b/src/main/java/net/fretux/skillengine/client/SkilltreeScreen.java index a516622..8d75e5c 100644 --- a/src/main/java/net/fretux/skillengine/client/SkilltreeScreen.java +++ b/src/main/java/net/fretux/skillengine/client/SkilltreeScreen.java @@ -180,7 +180,7 @@ public class SkilltreeScreen extends Screen { private int[] worldToScreen(float wx, float wy) { double sx = width / 2.0 + panX + wx * zoom; - double sy = height / 2.0 + panY + wy * zoom; + double sy = height / 2.0 + panY - wy * zoom; return new int[]{(int) sx, (int) sy}; }