1
0
mirror of https://github.com/CyberL1/MyMcRealms.git synced 2024-09-16 15:02:53 -04:00

fix: realm owner checking

This commit is contained in:
CyberL1 2024-05-22 06:56:14 +02:00
parent ead8d901f3
commit f48ded5ceb

View File

@ -36,7 +36,7 @@ namespace Minecraft_Realms_Emulator.Middlewares
return;
}
if (!attribute.IsRealmOwner(playerUUID, server.Ops[0].Uuid))
if (!attribute.IsRealmOwner(playerUUID, server.Ops[0].Uuid.Replace("-", "")))
{
httpContext.Response.StatusCode = 403;
await httpContext.Response.WriteAsync("You don't own this world");