Skip to content

Commit 14eedd3

Browse files
committed
fixed logic errer in spawnragdoll
1 parent d07601f commit 14eedd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AdminTools/Commands/SpawnRagdoll.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public bool Execute(ArraySegment<string> arguments, ICommandSender sender, out s
3636
return false;
3737
}
3838

39-
if (quotedArgs.Count() != 5 || quotedArgs.Count() != 3)
39+
if (quotedArgs.Length != 5 && quotedArgs.Length != 3)
4040
{
4141
response = "Usage: spawnragdoll ((player id / name) or (all / *)) (RoleTypeId) (amount) (nameRagdoll) (deathReason)";
4242
return false;

0 commit comments

Comments
 (0)