Merge pull request #1338 from ProfessorXZ/mintaka

A possible fix for #1337
This commit is contained in:
Rodrigo 2016-12-11 23:41:18 +00:00 committed by GitHub
commit 2e022aa554
2 changed files with 3 additions and 2 deletions

View file

@ -180,7 +180,7 @@ namespace TShockAPI
{
//179-219
var index = i - (NetItem.InventorySlots + NetItem.ArmorSlots + NetItem.DyeSlots
+ NetItem.MiscEquipSlots + NetItem.MiscDyeSlots + NetItem.PiggySlots + NetItem.ForgeSlots);
+ NetItem.MiscEquipSlots + NetItem.MiscDyeSlots + NetItem.PiggySlots);
this.inventory[i] = (NetItem)forge[index];
}
else
@ -464,4 +464,4 @@ namespace TShockAPI
NetMessage.SendData(39, player.Index, -1, "", 400);
}
}
}
}