Fix bypassing SSC using items in hand (trashcans are still exploitable until Redigit or his merry men decide that its a bug and fix it)
This commit is contained in:
parent
6b7e6523d1
commit
4ef324e026
3 changed files with 13 additions and 0 deletions
|
|
@ -1310,6 +1310,12 @@ namespace TShockAPI
|
|||
args.Player.IgnoreActionsForClearingTrashCan = true;
|
||||
}
|
||||
|
||||
if (slot == 58) //this is the hand
|
||||
{
|
||||
item.stack = stack;
|
||||
args.Player.ItemInHand = item;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue