- Joined
- Dec 23, 2015
- Messages
- 1,104
- Thread Author
- #1
Hi,
I've been looking at my code for over a, hour and tried several things. Why can't i convert my int to a string to use for debugging?
I've been looking at my code for over a, hour and tried several things. Why can't i convert my int to a string to use for debugging?
JavaScript:
@Override
public boolean validate()
{
//check if more than 5 Cowhides on the floor
groundedHides = GroundItems.newQuery().names("Cowhide").within(bot.cowArea).results().size();
System.out.println("Branch 5 Hides: " + groundedHides > 4 + "(currently: " + Integer.toString(groundedHides) + " cowhides" );
return groundedHides >4;
}