diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index 18e4a5d8..d34cf1e4 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -234,7 +234,7 @@ namespace ReallifeGamemode.Server.Commands return; } - if(deadPlayer == null) + if (deadPlayer == null) { ChatService.ErrorMessage(player, "Es wurde kein toter Spieler gefunden"); return; @@ -283,6 +283,7 @@ namespace ReallifeGamemode.Server.Commands if (price < 10 || price > 100) { ChatService.ErrorMessage(player, "Der Preis muss zwischen 10$ und 100$ liegen"); + return; } if (!player.IsDuty())