Recarsi nel BasicPacketHandler.cs -> Cambiare la seguente funzione del GURI
Cambiarlo con:
Codice:
else if (guriPacket.Type == 300)
{
if (guriPacket.Argument == 8023 && short.TryParse(guriPacket.User.ToString(), out short slot))
{
ItemInstance box = Session.Character.Inventory.LoadBySlotAndType(slot, InventoryType.Equipment);
if (box != null)
{
box.Item.Use(Session, ref box, 1, new[] { guriPacket.Data.ToString() });
}
}
}
Cambiarlo con:
Codice:
else if (guriPacket.Type == 300)
{
if (guriPacket.Argument == 8023 && short.TryParse(guriPacket.User.ToString(), out short slot))
{
ItemInstance box = Session.Character.Inventory.LoadBySlotAndType(slot, InventoryType.Equipment);
if (box != null && box.Item.ItemType == ItemType.Box)
{
box.Item.Use(Session, ref box, 1, new[] { guriPacket.Data.ToString() });
}
}
}