Specify which item is causing a player to be disabled. Fixes #909.
This commit is contained in:
parent
03c1182f27
commit
f4fa624936
2 changed files with 67 additions and 69 deletions
|
|
@ -871,7 +871,6 @@ namespace TShockAPI
|
|||
}
|
||||
player.IgnoreActionsForCheating = check;
|
||||
check = "none";
|
||||
//todo: pretty sure we check every place a players inventory can change, so do we really need to do this?
|
||||
foreach (Item item in player.TPlayer.armor)
|
||||
{
|
||||
if (Itembans.ItemIsBanned(item.name, player))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue