fix a dumb bug and minor adjustment to gradle (minors)

This commit is contained in:
2025-11-26 16:00:33 +01:00
parent 77de701392
commit e510f06d7b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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. # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved mod_license=All Rights Reserved
# The mod version. See https://semver.org/ # 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. # 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. # This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html # See https://maven.apache.org/guides/mini/guide-naming-conventions.html
@@ -180,7 +180,7 @@ public class SkilltreeScreen extends Screen {
private int[] worldToScreen(float wx, float wy) { private int[] worldToScreen(float wx, float wy) {
double sx = width / 2.0 + panX + wx * zoom; 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}; return new int[]{(int) sx, (int) sy};
} }