More cleanup

This commit is contained in:
Acuadragon100
2026-04-26 13:58:19 +02:00
parent c8535f13a6
commit 2711d8dccc
2 changed files with 1 additions and 18 deletions
@@ -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<ClientLevelWrapper> ref : LEVEL_WRAPPER_REF_BY_CLIENT_LEVEL.values())
{
ClientLevelWrapper wrapper = ref.get();
if (wrapper != null && wrapper.getDimensionName().equals(dimensionName))
{
return wrapper;
}
}
}
return null;
}
/**
+1 -1
View File
@@ -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