fix(console): route data-gating and first-boot prompts through headless-aware ReadLine

Data-gating prompts (delete corrupt entities/files) and first-boot config
prompts (data dir, listeners, server name, expansion, maps) now call
ConsoleInputHandler.ReadLine() instead of Console.ReadLine() directly, so a
headless server crashes fatal with a clear message instead of reading null.
This commit is contained in:
Kamron Batman 2026-07-15 22:01:19 -07:00
parent cd62856767
commit 45ea449419
4 changed files with 8 additions and 8 deletions

View file

@ -104,7 +104,7 @@ public abstract class GenericPersistence : Persistence, IGenericSerializable
Console.WriteLine(error);
Console.Write("Skip this file and continue? (y/n): ");
var y = Console.ReadLine();
var y = ConsoleInputHandler.ReadLine();
if (!y.InsensitiveEquals("y"))
{