s1mple 1 Share Posted January 25, 2021 (edited) Okay, this might be a silly question, but why am I getting a "Cannot resolve constructor 'Area(int, int, int, int, int)'" error when I try to define a new Area? I'm following Computer's DreamBot scripting tutorials so I could get my feet wet and understand a bit more of DreamBot's API. But when I input the tile's into the Area, I keep getting the error. Here is the code: Area bankArea = new Area(3181, 3433, 3185, 3447, 0); I would really appreciate if someone could tell me what I'm doing wrong. (Yes I imported java.awt.geom.Area) Edited January 25, 2021 by s1mple Link to comment Share on other sites More sharing options...
CodeNinja 32 Share Posted January 25, 2021 because you imported the java Area class and not the area class from dreambot s1mple 1 Link to comment Share on other sites More sharing options...
s1mple 1 Author Share Posted January 25, 2021 (edited) 2 hours ago, CodeNinja said: because you imported the java Area class and not the area class from dreambot lmao thanks, im a professional retard Edited January 25, 2021 by s1mple Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now