mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2024-12-22 04:18:21 -05:00
fix: uninitialized worlds
This commit is contained in:
parent
b0ed4a50de
commit
27a5d20888
@ -73,8 +73,8 @@ namespace Minecraft_Realms_Emulator.Modes.External
|
||||
OwnerUUID = world.OwnerUUID,
|
||||
Name = world.Name,
|
||||
Motd = world.Motd,
|
||||
GameMode = activeSlot.GameMode,
|
||||
IsHardcore = activeSlot.Difficulty == 3,
|
||||
GameMode = activeSlot?.GameMode ?? 0,
|
||||
IsHardcore = activeSlot?.Difficulty == 3,
|
||||
State = world.State,
|
||||
WorldType = world.WorldType,
|
||||
MaxPlayers = world.MaxPlayers,
|
||||
@ -177,8 +177,8 @@ namespace Minecraft_Realms_Emulator.Modes.External
|
||||
OwnerUUID = world.OwnerUUID,
|
||||
Name = world.Name,
|
||||
Motd = world.Motd,
|
||||
GameMode = activeSlot.GameMode,
|
||||
IsHardcore = activeSlot.Difficulty == 3,
|
||||
GameMode = activeSlot?.GameMode ?? 0,
|
||||
IsHardcore = activeSlot?.Difficulty == 3,
|
||||
State = world.State,
|
||||
WorldType = world.WorldType,
|
||||
MaxPlayers = world.MaxPlayers,
|
||||
@ -333,8 +333,8 @@ namespace Minecraft_Realms_Emulator.Modes.External
|
||||
OwnerUUID = world.OwnerUUID,
|
||||
Name = world.Name,
|
||||
Motd = world.Motd,
|
||||
GameMode = activeSlot.GameMode,
|
||||
IsHardcore = activeSlot.Difficulty == 3,
|
||||
GameMode = activeSlot?.GameMode ?? 0,
|
||||
IsHardcore = activeSlot?.Difficulty == 3,
|
||||
State = world.State,
|
||||
WorldType = world.WorldType,
|
||||
MaxPlayers = world.MaxPlayers,
|
||||
|
@ -76,8 +76,8 @@ namespace Minecraft_Realms_Emulator.Modes.Realms.Controllers
|
||||
OwnerUUID = world.OwnerUUID,
|
||||
Name = world.Name,
|
||||
Motd = world.Motd,
|
||||
GameMode = activeSlot.GameMode,
|
||||
IsHardcore = activeSlot.Difficulty == 3,
|
||||
GameMode = activeSlot?.GameMode ?? 0,
|
||||
IsHardcore = activeSlot?.Difficulty == 3,
|
||||
State = world.State,
|
||||
WorldType = world.WorldType,
|
||||
MaxPlayers = world.MaxPlayers,
|
||||
@ -180,8 +180,8 @@ namespace Minecraft_Realms_Emulator.Modes.Realms.Controllers
|
||||
OwnerUUID = world.OwnerUUID,
|
||||
Name = world.Name,
|
||||
Motd = world.Motd,
|
||||
GameMode = activeSlot.GameMode,
|
||||
IsHardcore = activeSlot.Difficulty == 3,
|
||||
GameMode = activeSlot?.GameMode ?? 0,
|
||||
IsHardcore = activeSlot?.Difficulty == 3,
|
||||
State = world.State,
|
||||
WorldType = world.WorldType,
|
||||
MaxPlayers = world.MaxPlayers,
|
||||
@ -336,8 +336,8 @@ namespace Minecraft_Realms_Emulator.Modes.Realms.Controllers
|
||||
OwnerUUID = world.OwnerUUID,
|
||||
Name = world.Name,
|
||||
Motd = world.Motd,
|
||||
GameMode = activeSlot.GameMode,
|
||||
IsHardcore = activeSlot.Difficulty == 3,
|
||||
GameMode = activeSlot?.GameMode ?? 0,
|
||||
IsHardcore = activeSlot?.Difficulty == 3,
|
||||
State = world.State,
|
||||
WorldType = world.WorldType,
|
||||
MaxPlayers = world.MaxPlayers,
|
||||
|
Loading…
Reference in New Issue
Block a user