Acerd Posted September 2, 2016 Share 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? Quote Link to comment Share on other sites More sharing options...
Alek Posted September 2, 2016 Share Posted September 2, 2016 Post the stacktrace. Quote Link to comment Share on other sites More sharing options...
Acerd Posted September 2, 2016 Author Share Posted September 2, 2016 Post the stacktrace. i made two threads in Client bugs and suggestions with the stack traces. Quote Link to comment Share on other sites More sharing options...
Team Cape Posted September 3, 2016 Share Posted September 3, 2016 posted about this earlier in client bugs and programming help (2 separate threads) as well Quote Link to comment Share on other sites More sharing options...
Acerd Posted September 3, 2016 Author Share Posted September 3, 2016 Well you could always use widgets and use #getItemAmount Quote Link to comment Share on other sites More sharing options...
Juggles Posted September 3, 2016 Share Posted September 3, 2016 Yeah all my shop buying scripts broke too due to this code. Quote Link to comment Share on other sites More sharing options...