June 12, 20178 yr Why am I getting a nullpointer on line 80. Says the error is coming from the script executer. First day on Osbot, coming from another botting community, bare with me
June 12, 20178 yr Author 3 minutes ago, Night said: Your getState() is returning null. Oh god, it flew over my head. Didn't realise I had oak planks in my inventory, hence the return of null. Thanks.
June 12, 20178 yr Here is helpful logic. Line 80 -> returning null Line 80: switch (s) { s -> must be null Line 78: s = getState(); getState() -> Must be returning null Edited June 12, 20178 yr by k9thebeast