Scan up to slot 48 (mouse item) for bucket

This commit is contained in:
Deathmax 2011-12-18 07:34:28 +08:00
parent d1320e434c
commit c6e19c6658

View file

@ -726,7 +726,7 @@ namespace TShockAPI
int tileY = Math.Abs(y);
bool bucket = false;
for (int i = 0; i < 44; i++)
for (int i = 0; i < 49; i++)
{
if (args.TPlayer.inventory[i].type >= 205 && args.TPlayer.inventory[i].type <= 207)
{