From 20f6888569f1872442d186b912a03aba3a7aff07 Mon Sep 17 00:00:00 2001 From: "michael.reiswich" Date: Wed, 31 Mar 2021 16:37:56 +0200 Subject: [PATCH] test --- ReallifeGamemode.Server/Commands/FactionCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index c3817f62..5302e4d4 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -492,7 +492,7 @@ namespace ReallifeGamemode.Server.Commands case "off": NAPI.Pools.GetAllPlayers().ForEach(p => { - p.SetData("eventAllowed", false); + p.ResetData("eventAllowed"); }); player.SendNotification("Der Eventchat ist nun aus."); break;