July 31, 20178 yr wait wat, u are using enums without actually making one? Edited July 31, 20178 yr by Get Rekt
July 31, 20178 yr Author 15 minutes ago, Get Rekt said: wait wat u are using enums actually making one? What do you mean? Can you elaborate? it's late and I am just glad I got it working Edited July 31, 20178 yr by loopback
July 31, 20178 yr 24 minutes ago, loopback said: What do you mean? Can you elaborate? it's late and I am just glad I got it working i would but u removed the code xd
July 31, 20178 yr Author 6 minutes ago, Get Rekt said: i would but u removed the code xd private enum State { MINECopper, MINETin, MINECoal, WAIT, BANK } private State getState() { if (getInventory().isFull()) return State.BANK; if (!getInventory().isFull()) return State.MINECopper; return State.WAIT; } Thats all the code that has anything to do with enums. But I still don't understand what you mean Edited July 31, 20178 yr by loopback
July 31, 20178 yr 2 hours ago, loopback said: Thats all the code that has anything to do with enums. But I still don't understand what you mean well when u posted it here u didnt have private enum State { MINECopper, MINETin, MINECoal, WAIT, BANK } and that's basically what i meant