From 2711d8dccc16871197ee563e61c5de0c7718727d Mon Sep 17 00:00:00 2001 From: Acuadragon100 <8165958-acuadragon100@users.noreply.gitlab.com> Date: Sun, 26 Apr 2026 13:58:19 +0200 Subject: [PATCH] More cleanup --- .../wrappers/world/ClientLevelWrapper.java | 17 ----------------- gradle.properties | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ClientLevelWrapper.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ClientLevelWrapper.java index 3ce9883fb..ec97fbfb6 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ClientLevelWrapper.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/world/ClientLevelWrapper.java @@ -159,23 +159,6 @@ public class ClientLevelWrapper implements IClientLevelWrapper } } - @Nullable - public static ClientLevelWrapper getWrapperByDimensionName(String dimensionName) - { - synchronized (LEVEL_WRAPPER_REF_BY_CLIENT_LEVEL) - { - for (WeakReference ref : LEVEL_WRAPPER_REF_BY_CLIENT_LEVEL.values()) - { - ClientLevelWrapper wrapper = ref.get(); - if (wrapper != null && wrapper.getDimensionName().equals(dimensionName)) - { - return wrapper; - } - } - } - return null; - } - /** diff --git a/gradle.properties b/gradle.properties index 98cafaa56..9ca5b4bc9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -47,7 +47,7 @@ versionStr= # This defines what MC version Intellij will use for the preprocessor # and what version is used automatically by build and run commands -mcVer=1.21.1 +mcVer=26.1.2 # Defines the maximum amount of memory Minecraft is allowed when run in a development environment minecraftMemoryJavaArg=-Xmx6G