Jump to content

Riies

Members
  • Posts

    49
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male
  • Location:
    Belgium

Contact Methods

  • Skype
    Private

Riies's Achievements

Bronze Poster

Bronze Poster (2/10)

8

Reputation

  1. Why this? void chop() throws InterruptedException{ tree.interact("Chop down"); sleep(random(300,400)); } You have no null checks. Change to this ; void chop() throws InterruptedException{ if(tree != null); if(tree.isVisible()); tree.interact("Chop down"); sleep(random(300,400)); } You got this but I prefer to check it again for nulls. if(tree != null) state = State.CHOP;
  2. Welcome to my profile.

×
×
  • Create New...