1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-09-19 07:52:52 -04:00

feat: server id as realm name

This commit is contained in:
CyberL1 2024-04-22 18:56:14 +02:00
parent eb5a402cde
commit 4ddc2b9baa
2 changed files with 2 additions and 7 deletions

View File

@ -48,7 +48,7 @@ namespace MyMcRealms.Controllers
Id = AllServers.Servers.IndexOf(world),
Owner = "Owner",
OwnerUUID = "069a79f444e94726a5befca90e38aaf5",
Name = "my-mc.link world",
Name = world.ServerName,
Motd = "A world hosted on my-mc.link",
State = "OPEN",
WorldType = "NORMAL",

View File

@ -5,11 +5,6 @@ namespace MyMcRealms.MyMcAPI.Responses
{
public bool Success { get; set; }
public List<Server> Servers { get; set; }
public static implicit operator Task<object>(AllServersResponse? v)
{
throw new NotImplementedException();
}
}
public class Server