Store enchantments when updating item in database.
This commit is contained in:
@ -1604,6 +1604,19 @@ public final class L2ItemInstance extends L2Object
|
||||
ps.executeUpdate();
|
||||
_existsInDb = true;
|
||||
_storedInDb = true;
|
||||
|
||||
if (_augmentation != null)
|
||||
{
|
||||
updateItemOptions(con);
|
||||
}
|
||||
if (_elementals != null)
|
||||
{
|
||||
updateItemElements(con);
|
||||
}
|
||||
if ((_ensoulOptions != null) || (_ensoulSpecialOptions != null))
|
||||
{
|
||||
updateSpecialAbilities(con);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user