diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2023-02-06 14:43:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-06 15:43:27 +0100 |
commit | 0294a87dc03f4d9b13022079b808e234b9a7545b (patch) | |
tree | 8a342e9d7de3d9dee59ce7c3e3fc86d420d686ba | |
parent | 405b8b4804af7dfc1f4f53d947944980e203a88d (diff) | |
download | NotEnoughUpdates-0294a87dc03f4d9b13022079b808e234b9a7545b.tar.gz NotEnoughUpdates-0294a87dc03f4d9b13022079b808e234b9a7545b.tar.bz2 NotEnoughUpdates-0294a87dc03f4d9b13022079b808e234b9a7545b.zip |
Fix Gui scale setting freaking out when your gui scale is set to 5x or higher (#596)
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java index 0424e311..d5abcb77 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/util/Utils.java @@ -186,7 +186,7 @@ public class Utils { } int newScale = guiScales.size() > 0 - ? Math.max(0, Math.min(4, guiScales.peek())) + ? Math.max(0, guiScales.peek()) : Minecraft.getMinecraft().gameSettings.guiScale; if (newScale == 0) newScale = Minecraft.getMinecraft().gameSettings.guiScale; |