Check removed shortcut slot ids.

This commit is contained in:
MobiusDevelopment 2020-01-02 01:40:41 +00:00
parent 235203c5f8
commit 4382ea4ee6
2 changed files with 12 additions and 6 deletions

View File

@ -55,8 +55,11 @@ public class RequestShortCutDel implements IClientIncomingPacket
player.deleteShortCut(_slot, _page);
// Remove auto used ids.
if (_slot > 263)
{
player.removeAutoSupplyItem(_id);
player.removeAutoPotionItem(_id);
player.removeAutoSkill(_id);
}
}
}

View File

@ -55,8 +55,11 @@ public class RequestShortCutDel implements IClientIncomingPacket
player.deleteShortCut(_slot, _page);
// Remove auto used ids.
if (_slot > 263)
{
player.removeAutoSupplyItem(_id);
player.removeAutoPotionItem(_id);
player.removeAutoSkill(_id);
}
}
}