From e0d55474b2d082315066bd2ede97657669b36453 Mon Sep 17 00:00:00 2001 From: Siga Date: Sat, 28 Mar 2020 18:56:21 +0100 Subject: [PATCH] Sigbert van Iga hat den fehler gefunden --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 31dac858..bada005b 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -1091,7 +1091,7 @@ namespace ReallifeGamemode.Server.Commands ChatService.PlayerNotFound(player); return; } - if (!target.HasData("isDead") || target.GetData("isDead")) + if (!target.HasData("isDead") || !target.GetData("isDead")) { ChatService.ErrorMessage(player, "Der Spieler ist nicht tot"); return;