From 7b88bdb80e61bdac718f32b684919c5dc9a301e4 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Tue, 21 May 2024 10:35:32 +0200 Subject: [PATCH] fix: slot name can be empty --- Minecraft-Realms-Emulator/Requests/SlotOptionsRequest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft-Realms-Emulator/Requests/SlotOptionsRequest.cs b/Minecraft-Realms-Emulator/Requests/SlotOptionsRequest.cs index 9c29f60..bfbbe34 100644 --- a/Minecraft-Realms-Emulator/Requests/SlotOptionsRequest.cs +++ b/Minecraft-Realms-Emulator/Requests/SlotOptionsRequest.cs @@ -2,7 +2,7 @@ { public class SlotOptionsRequest { - public string SlotName { get; set; } = null!; + public string SlotName { get; set; } = string.Empty; public string Version { get; set; } = null!; public int GameMode { get; set; } public int Difficulty { get; set; }