mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Move world unload patch to tick function to prevent duplicate unloading, fix log message in dim manager, fix javadoc for unload method (#5964)
This commit is contained in:
1 parent
61285a098a
commit
c6dd475610
2 files changed
+8
-8
No files matched your search
@@ -227,7 +227,7 @@ public class DimensionManager
|
||||
|
||||
/**
|
||||
* Queues a dimension to unload, if it can be unloaded.
|
||||
* @param id The id of the dimension
|
||||
* @param world The world to unload
|
||||
*/
|
||||
public static void unloadWorld(ServerWorld world)
|
||||
{
|
||||
@@ -372,7 +372,7 @@ public class DimensionManager
|
||||
ModDimension mod = ForgeRegistries.MOD_DIMENSIONS.getValue(entry.type);
|
||||
if (mod == null)
|
||||
{
|
||||
LOGGER.error(DIMMGR, "Modded dimension entry '{}' id {} in save file missing ModDimension.", entry.name.toString(), entry.id, entry.type.toString());
|
||||
LOGGER.error(DIMMGR, "Modded dimension entry '{}' id {} type {} in save file missing ModDimension.", entry.name.toString(), entry.id, entry.type.toString());
|
||||
savedEntries.put(entry.name, entry);
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user