Find the item that is broken and fix it..
else if (_currentItem.type instanceof L2WeaponType)
{
_currentItem.item = new L2Weapon((L2WeaponType) _currentItem.type, _currentItem.set);
}
else if (_currentItem.type instanceof L2EtcItemType)
{
_currentItem.item = new L2EtcItem((L2EtcItemType) _currentItem.type, _currentItem.set);
}
else
- throw new Error("Unknown item type " + _currentItem.type);
+ throw new Error(String.format("Unknown item type [%s] for Item [%s] - [%s]", _currentItem.type,_currentItem.name , _currentItem.id));
}