mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2024-11-23 14:38:21 -05:00
fix: dashless world owner uuid
This commit is contained in:
parent
7f7444249c
commit
6e27e44746
@ -44,7 +44,7 @@ namespace MyMcRealms.Controllers
|
||||
bool isBanned = world.Banlist.Any(p => p.Name == playerName);
|
||||
|
||||
string worldOwnerName = world.Ops.ToArray().Length == 0 ? "Not claimed" : world.Ops[0].Name;
|
||||
string worldOwnerUuid = world.Ops.ToArray().Length == 0 ? "069a79f444e94726a5befca90e38aaf5" : world.Ops[0].Uuid;
|
||||
string worldOwnerUuid = world.Ops.ToArray().Length == 0 ? "069a79f444e94726a5befca90e38aaf5" : world.Ops[0].Uuid.Replace("-", "");
|
||||
string worldName = world.Ops.ToArray().Length == 0 ? world.ServerName : $"{world.Ops[0].Name}'s server";
|
||||
string worldState = !isBanned ? "OPEN" : "CLOSED";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user