From 92fac5f930191c9237ceee8945fd8ca068469660 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Fri, 23 Apr 2021 04:08:21 +0000 Subject: [PATCH] Addition of blessed item enchant level check. --- .../l2jmobius/gameserver/model/itemcontainer/Inventory.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java b/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java index 5d8043b53d..740b63786f 100644 --- a/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java +++ b/L2J_Mobius_Essence_5.0_Sylph/java/org/l2jmobius/gameserver/model/itemcontainer/Inventory.java @@ -647,6 +647,11 @@ public abstract class Inventory extends ItemContainer continue; } + if (item.getEnchantLevel() < holder.getValue()) + { + continue; + } + final Skill skill = holder.getSkill(); if (skill == null) {