diff --git a/MyMcRealms/Controllers/WorldsController.cs b/MyMcRealms/Controllers/WorldsController.cs index d57fb7b..308c081 100644 --- a/MyMcRealms/Controllers/WorldsController.cs +++ b/MyMcRealms/Controllers/WorldsController.cs @@ -35,13 +35,14 @@ namespace MyMcRealms.Controllers string worldOwnerName = world.Ops.ToArray().Length == 0 ? "Owner" : world.Ops[0].Name; string worldOwnerUuid = world.Ops.ToArray().Length == 0 ? "069a79f444e94726a5befca90e38aaf5" : world.Ops[0].Uuid; + string worldName = world.Ops.ToArray().Length == 0 ? world.ServerName : $"{world.Ops[0].Name}'s server"; WorldResponse response = new() { Id = AllServers.Servers.IndexOf(world), Owner = worldOwnerName, OwnerUUID = worldOwnerUuid, - Name = world.ServerName, + Name = worldName, Motd = world.Motd, State = isCompatibleOnOlderVersions, WorldType = "NORMAL",