Okay mate so let me try to explain this properly.
The bot is superheating iron ores.
Then at some point, my inventory is filled with iron bars.
Then, for some reason, it doesn't bank but decides to initate the anti-idle meganism you added. ( xp timer )
So it goes to my spell book, selects superheat item, to then find that there are no iron ores in my inventory.
From that point it's just stuck at my inventory. ( It still says Superheat item --> in the top left corner so it's really stuck. )
It will only continue when i manually click the bank.
I'm not sure what's causing this to happen, because I'm not sitting here watching my bot all day.
I hope you understand and can fix this .
[ EDIT: Maybe you could add something that would make sure it will always click bank when there are no iron ores left in inventory? My bad if that's a dumb suggestion, I know nothing about coding ]