From 219853c8f1c2100244585d441449ad2e2e88bccd Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Thu, 2 Jan 2020 02:39:07 +0000 Subject: [PATCH] Check removed auto skill shortcuts. --- .../gameserver/network/clientpackets/RequestShortCutDel.java | 4 +++- .../gameserver/network/clientpackets/RequestShortCutDel.java | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java index bce96751af..b1ae5b0d85 100644 --- a/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java +++ b/L2J_Mobius_7.0_PreludeOfWar/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java @@ -58,7 +58,9 @@ public class RequestShortCutDel implements IClientIncomingPacket if (_slot > 263) { player.removeAutoSupplyItem(_id); - player.removeAutoPotionItem(_id); + } + else + { player.removeAutoSkill(_id); } } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java index bce96751af..b1ae5b0d85 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/gameserver/network/clientpackets/RequestShortCutDel.java @@ -58,7 +58,9 @@ public class RequestShortCutDel implements IClientIncomingPacket if (_slot > 263) { player.removeAutoSupplyItem(_id); - player.removeAutoPotionItem(_id); + } + else + { player.removeAutoSkill(_id); } }