You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Core/Features/MainMenuFeatures/MainMenuActions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ public static void StartServer()
176
176
thrownewException("No worlds found.");
177
177
178
178
// Getting Player and World from ClientDataHandler
179
-
varworld=Main.WorldList.FirstOrDefault(p =>p.Path.Equals(ClientDataJsonHelper.WorldPath))??thrownewException("World not found: "+ClientDataJsonHelper.WorldPath);
179
+
varworld=Main.WorldList.FirstOrDefault(p =>p.Path.Equals(ClientDataMemoryStorage.WorldPath))??thrownewException("World not found: "+ClientDataMemoryStorage.WorldPath);
180
180
if(string.IsNullOrEmpty(world.Path))
181
181
{
182
182
Log.Error($"World {world.Name} has an invalid or null path.");
0 commit comments