fix tog lc
This commit is contained in:
@@ -312,7 +312,7 @@ namespace ReallifeGamemode.Server.Commands
|
|||||||
NAPI.Pools.GetAllPlayers().ForEach(p =>
|
NAPI.Pools.GetAllPlayers().ForEach(p =>
|
||||||
{
|
{
|
||||||
User pUser = p.GetUser();
|
User pUser = p.GetUser();
|
||||||
if ((pUser?.FactionLeader ?? false) || (pUser.IsAdmin(AdminLevel.ADMIN) && !p.HasData("toglc")))
|
if ((pUser?.FactionLeader ?? false) || (pUser.IsAdmin(AdminLevel.ADMIN) && p.HasData("toglc")))
|
||||||
{
|
{
|
||||||
ChatService.SendMessage(p, broadcastMsg);
|
ChatService.SendMessage(p, broadcastMsg);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user