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:
Lucas Nicodemus 2012-05-26 11:19:36 -06:00
parent 1fb554a804
commit 9836406cfc

View file

@ -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;