s1mple 1 Share Posted January 25, 2021 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) 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 Link to comment Share on other sites More sharing options...
s1mple 1 Author Share Posted January 25, 2021 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.