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