mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Remove startupquery. Currently wasn't functional, and 1.16 has out of band state loading in all cases, so the complex functionality there is no longer needed. Going to research using the Lifecycle indicator from DFU as a proxy/replacement. Probably with some codec FUN.
Signed-off-by: cpw <[email protected]>
This commit is contained in:
13 files changed
+41
-492
No files matched your search
@@ -71,7 +71,6 @@ import net.minecraftforge.event.RegistryEvent;
|
||||
import net.minecraftforge.event.RegistryEvent.MissingMappings;
|
||||
import net.minecraftforge.fml.LifecycleEventProvider;
|
||||
import net.minecraftforge.fml.ModLoadingContext;
|
||||
import net.minecraftforge.fml.StartupQuery;
|
||||
import net.minecraftforge.fml.common.EnhancedRuntimeException;
|
||||
import net.minecraftforge.fml.common.thread.EffectiveSide;
|
||||
import net.minecraftforge.fml.event.lifecycle.FMLModIdMappingEvent;
|
||||
@@ -647,15 +646,6 @@ public class GameData
|
||||
|
||||
for (ResourceLocation s : missingRegs)
|
||||
text.append(s).append("\n");
|
||||
|
||||
boolean confirmed = StartupQuery.builder()
|
||||
.header(header)
|
||||
.text(text.toString())
|
||||
.action("Continue anyway?")
|
||||
.confirm();
|
||||
|
||||
if (!confirmed)
|
||||
StartupQuery.abort();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -745,14 +735,6 @@ public class GameData
|
||||
entries.forEach(rl -> buf.append(" ").append(rl).append("\n"));
|
||||
buf.append("\n");
|
||||
});
|
||||
|
||||
boolean confirmed = StartupQuery.builder()
|
||||
.header(header)
|
||||
.text(buf.toString())
|
||||
.action("Remove entries and continue?")
|
||||
.confirm();
|
||||
if (!confirmed)
|
||||
StartupQuery.abort();
|
||||
}
|
||||
|
||||
if (!defaulted.isEmpty())
|
||||
|
||||
Reference in new issue
Block a user