Logic needs to be relooked at and worked on
possible nullpointer before you even check if ore is null
banking is poor logic and can be rewritten. You can see an example here: https://github.com/christophernarciso/programming/blob/master/Meire %26 Brito Automation [OSBot.org]/OSBot Scripting Open Source Projects/Scripts/CAccountEvaluator/src/Evaluator.java#L108