From f5364422496e26e6e2744a9dc5a033a05a675920 Mon Sep 17 00:00:00 2001 From: hammy275 Date: Tue, 7 Nov 2023 20:30:33 -0500 Subject: [PATCH] Return 1f if Not in VR For World Scale --- .../main/java/org/vivecraft/client/api_impl/ClientAPIImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/org/vivecraft/client/api_impl/ClientAPIImpl.java b/common/src/main/java/org/vivecraft/client/api_impl/ClientAPIImpl.java index 23c659a0f..d9d45b986 100644 --- a/common/src/main/java/org/vivecraft/client/api_impl/ClientAPIImpl.java +++ b/common/src/main/java/org/vivecraft/client/api_impl/ClientAPIImpl.java @@ -130,7 +130,7 @@ public float getWorldScale() { if (isVrActive()) { return ClientDataHolderVR.getInstance().vrPlayer.worldScale; } else { - return ClientDataHolderVR.getInstance().vrSettings.overrides.getSetting(VRSettings.VrOptions.WORLD_SCALE).getFloat(); + return 1f; } }