Code:
} else if (interfaceId == 667) {
if (componentId == 14) {
if (slotId >= 14)
return;
Item item = player.getEquipment().getItem(slotId);
if (item == null)
return;
if (packetId == 3)
player.getPackets().sendGameMessage(ItemExamines.getExamine(item));
else if (packetId == 216) {
sendRemove(player, slotId);
ButtonHandler.refreshEquipBonuses(player);
}
} else if (componentId == 46 && player.getTemporaryAttributtes().remove("Banking") != null) {
player.getBank().openBank();
}
}
This is what i have for my interface 667, that's the correct one, right?
It has a part in there to remove the item, but it doesn't seem to work, any hints?