A possible fix for #1337
This commit is contained in:
parent
d728a24902
commit
1741b0c854
1 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,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
|
||||
|
|
@ -463,4 +463,4 @@ namespace TShockAPI
|
|||
NetMessage.SendData(39, player.Index, -1, "", 400);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue