From 7296067e214ae15a4e82c4a7a3ad8dcbc7215e3d Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Fri, 24 May 2024 07:03:15 +0200 Subject: [PATCH] fix: world creation --- Minecraft-Realms-Emulator/Modes/External/WorldsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft-Realms-Emulator/Modes/External/WorldsController.cs b/Minecraft-Realms-Emulator/Modes/External/WorldsController.cs index 4085f0d..269ac5d 100644 --- a/Minecraft-Realms-Emulator/Modes/External/WorldsController.cs +++ b/Minecraft-Realms-Emulator/Modes/External/WorldsController.cs @@ -236,7 +236,7 @@ namespace Minecraft_Realms_Emulator.Modes.External.Controllers world.Subscription = subscription; var config = new ConfigHelper(_context); - var defaultServerAddress = config.GetSetting("defaultServerAddress"); + var defaultServerAddress = config.GetSetting(nameof(SettingsEnum.DefaultServerAddress)); var connection = new Connection {