Acerd Posted September 2, 2016 Posted September 2, 2016 if (getStore().isOpen(() { log(getStore().getAmount("Item"); } will throw an NPE for some reason. Also tried with #contains and that threw an NPE as well. any idea?
Acerd Posted September 2, 2016 Author Posted September 2, 2016 Post the stacktrace. i made two threads in Client bugs and suggestions with the stack traces.
Team Cape Posted September 3, 2016 Posted September 3, 2016 posted about this earlier in client bugs and programming help (2 separate threads) as well
Acerd Posted September 3, 2016 Author Posted September 3, 2016 Well you could always use widgets and use #getItemAmount
Juggles Posted September 3, 2016 Posted September 3, 2016 Yeah all my shop buying scripts broke too due to this code.