Check removed shortcut slot ids.
This commit is contained in:
parent
235203c5f8
commit
4382ea4ee6
@ -55,8 +55,11 @@ public class RequestShortCutDel implements IClientIncomingPacket
|
||||
player.deleteShortCut(_slot, _page);
|
||||
|
||||
// Remove auto used ids.
|
||||
player.removeAutoSupplyItem(_id);
|
||||
player.removeAutoPotionItem(_id);
|
||||
player.removeAutoSkill(_id);
|
||||
if (_slot > 263)
|
||||
{
|
||||
player.removeAutoSupplyItem(_id);
|
||||
player.removeAutoPotionItem(_id);
|
||||
player.removeAutoSkill(_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -55,8 +55,11 @@ public class RequestShortCutDel implements IClientIncomingPacket
|
||||
player.deleteShortCut(_slot, _page);
|
||||
|
||||
// Remove auto used ids.
|
||||
player.removeAutoSupplyItem(_id);
|
||||
player.removeAutoPotionItem(_id);
|
||||
player.removeAutoSkill(_id);
|
||||
if (_slot > 263)
|
||||
{
|
||||
player.removeAutoSupplyItem(_id);
|
||||
player.removeAutoPotionItem(_id);
|
||||
player.removeAutoSkill(_id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user