Do not calculate appearance stone item bonuses.

Contributed by Mathael.
This commit is contained in:
MobiusDev
2016-12-11 16:54:58 +00:00
parent 5eab758dd2
commit 6a2ccc62e4

View File

@@ -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();