mirror of
https://github.com/CyberL1/MyMcRealms.git
synced 2025-07-12 06:19:42 -04:00
fix: the server dissapearing if whitelist is on even tho the player is op (I hope)
This commit is contained in:
@ -30,7 +30,7 @@ namespace MyMcRealms.Controllers
|
||||
{
|
||||
if (world.Online)
|
||||
{
|
||||
if (world.WhitelistEnable && !(world.Whitelist.Any(p => p.Uuid.Replace("-", "") == playerUUID) || world.Ops.Any(p => p.Uuid.Replace("-", "") == playerUUID)))
|
||||
if (world.WhitelistEnable && !(world.Whitelist.Any(p => p.Uuid.Replace("-", "") == playerUUID) && world.Ops.Any(p => p.Uuid.Replace("-", "") == playerUUID)))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user