mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix gametest collection causing secondary crash in loading error state (#9568)
This commit is contained in:
1 parent
b5f5d1d848
commit
9f858ef931
1 file changed
+1
-1
@@ -44,7 +44,7 @@ public class ForgeGameTestHooks
|
||||
@SuppressWarnings("deprecation")
|
||||
public static void registerGametests()
|
||||
{
|
||||
if (!registeredGametests && isGametestEnabled())
|
||||
if (!registeredGametests && isGametestEnabled() && ModLoader.isLoadingStateValid())
|
||||
{
|
||||
Set<String> enabledNamespaces = getEnabledNamespaces();
|
||||
LOGGER.info("Enabled Gametest Namespaces: {}", enabledNamespaces);
|
||||
|
||||
Reference in new issue
Block a user