From 6e27e447469879dab5c87e7bb7204845e81eee4e Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 21 Sep 2024 12:48:52 +0200 Subject: [PATCH] fix: dashless world owner uuid --- MyMcRealms/Controllers/WorldsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MyMcRealms/Controllers/WorldsController.cs b/MyMcRealms/Controllers/WorldsController.cs index 166e111..e0648b1 100644 --- a/MyMcRealms/Controllers/WorldsController.cs +++ b/MyMcRealms/Controllers/WorldsController.cs @@ -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";