In the mess of a method that is OnGetData, it makes no sense to logically check to see if something is both greater than 12 but not 5.
This commit is contained in:
parent
1fb554a804
commit
9836406cfc
1 changed files with 1 additions and 1 deletions
|
|
@ -893,7 +893,7 @@ namespace TShockAPI
|
|||
}
|
||||
|
||||
if ((player.State < 10 || player.Dead) && (int) type > 12 && (int) type != 16 && (int) type != 42 && (int) type != 50 &&
|
||||
(int) type != 38 && (int) type != 5 && (int) type != 21)
|
||||
(int) type != 38 && (int) type != 21)
|
||||
{
|
||||
e.Handled = true;
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue