mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2025-04-01 13:38:35 -04:00
Compare commits
2 Commits
b0ed4a50de
...
6cb43fcaa3
Author | SHA1 | Date | |
---|---|---|---|
6cb43fcaa3 | |||
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,
|
||||
|
@ -68,7 +68,7 @@ namespace Minecraft_Realms_Emulator.Modes.Realms.Helpers
|
||||
ProcessStartInfo serverProcessInfo = new();
|
||||
|
||||
serverProcessInfo.FileName = "docker";
|
||||
serverProcessInfo.Arguments = $"container rm realm-server-{world.Id}";
|
||||
serverProcessInfo.Arguments = $"container rm -f realm-server-{world.Id}";
|
||||
|
||||
Process serverProcess = new();
|
||||
serverProcess.StartInfo = serverProcessInfo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user