mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2025-04-02 14:08:36 -04:00
Compare commits
4 Commits
3972d0eb05
...
49bb02f3cf
Author | SHA1 | Date | |
---|---|---|---|
49bb02f3cf | |||
0b4291e873 | |||
ecd0b3e020 | |||
5a93396138 |
@ -46,7 +46,12 @@ 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";
|
||||
string worldState = isCompatibleOnOlderVersions || !isBanned ? "OPEN" : "CLOSED";
|
||||
string worldState = !isBanned ? "OPEN" : "CLOSED";
|
||||
|
||||
if (!isCompatibleOnOlderVersions)
|
||||
{
|
||||
worldState = "CLOSED";
|
||||
}
|
||||
|
||||
WorldResponse response = new()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user