Bugfix in /v2/world/butcher endpoint
killfriendly parameter now does something.
This commit is contained in:
parent
b3f8ec62c9
commit
5463adfce8
1 changed files with 0 additions and 3 deletions
|
|
@ -504,9 +504,6 @@ namespace TShockAPI
|
|||
if (!bool.TryParse(parameters["killfriendly"], out killFriendly))
|
||||
return RestInvalidParam("killfriendly");
|
||||
|
||||
if (killFriendly)
|
||||
killFriendly = !killFriendly;
|
||||
|
||||
int killcount = 0;
|
||||
for (int i = 0; i < Main.npc.Length; i++)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue