Do not calculate appearance stone item bonuses.
Contributed by Mathael.
This commit is contained in:
@@ -501,12 +501,6 @@ public abstract class Inventory extends ItemContainer
|
||||
update = true;
|
||||
}
|
||||
|
||||
// Very and apply visual set
|
||||
if (verifyAndApply(player, item, L2ItemInstance::getVisualId))
|
||||
{
|
||||
update = true;
|
||||
}
|
||||
|
||||
if (update)
|
||||
{
|
||||
player.sendSkillList();
|
||||
@@ -621,12 +615,6 @@ public abstract class Inventory extends ItemContainer
|
||||
remove = true;
|
||||
}
|
||||
|
||||
// verify and remove visual set bonus
|
||||
if (verifyAndRemove(player, item, L2ItemInstance::getVisualId))
|
||||
{
|
||||
remove = true;
|
||||
}
|
||||
|
||||
if (remove)
|
||||
{
|
||||
player.checkItemRestriction();
|
||||
|
Reference in New Issue
Block a user