Merge branch 'hackedinventory' into crp
This commit is contained in:
commit
0a156c5204
1 changed files with 2 additions and 2 deletions
|
|
@ -1081,7 +1081,6 @@ namespace TShockAPI
|
|||
}
|
||||
else if (!Main.ServerSideCharacter || (Main.ServerSideCharacter && player.IsLoggedIn))
|
||||
{
|
||||
string check = "none";
|
||||
if (!player.HasPermission(Permissions.ignorestackhackdetection))
|
||||
{
|
||||
player.IsDisabledForStackDetection = player.HasHackedItemStacks(shouldWarnPlayer: true);
|
||||
|
|
@ -1140,7 +1139,8 @@ namespace TShockAPI
|
|||
break;
|
||||
}
|
||||
}
|
||||
player.IsDisabledForBannedWearable = true;
|
||||
if (check != "none")
|
||||
player.IsDisabledForBannedWearable = true;
|
||||
|
||||
if (player.IsBeingDisabled())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue