Fixed auto icons disabled when learning skills.
This commit is contained in:
@@ -14448,9 +14448,10 @@ public class PlayerInstance extends Playable
|
||||
sendPacket(new ExActivateAutoShortcut(shortcut, true));
|
||||
}
|
||||
}
|
||||
else if (_autoUseSettings.getAutoSupplyItems().contains(shortcut.getId()))
|
||||
else
|
||||
{
|
||||
if (getInventory().getItemByObjectId(shortcut.getId()) != null)
|
||||
final ItemInstance item = getInventory().getItemByObjectId(shortcut.getId());
|
||||
if ((item != null) && _autoUseSettings.getAutoSupplyItems().contains(item.getId()))
|
||||
{
|
||||
sendPacket(new ExActivateAutoShortcut(shortcut, true));
|
||||
}
|
||||
|
Reference in New Issue
Block a user