From e8dd60e088ec6ed5ed924313ea80dc37fc467f89 Mon Sep 17 00:00:00 2001 From: Wilhelm Schuster Date: Sun, 28 Sep 2025 18:01:23 +0200 Subject: [PATCH] Check if module is enabled before resetting zoom (#1032) --- src/main/java/com/gtnewhorizons/angelica/proxy/ClientProxy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gtnewhorizons/angelica/proxy/ClientProxy.java b/src/main/java/com/gtnewhorizons/angelica/proxy/ClientProxy.java index f1d62d716..b60127fb9 100644 --- a/src/main/java/com/gtnewhorizons/angelica/proxy/ClientProxy.java +++ b/src/main/java/com/gtnewhorizons/angelica/proxy/ClientProxy.java @@ -315,7 +315,7 @@ public class ClientProxy extends CommonProxy { } // force reset zoom when a GUI is opened - if (event.gui != null) Zoom.resetZoom(); + if (AngelicaConfig.enableZoom && event.gui != null) Zoom.resetZoom(); } }