BloodyNoah Posted August 17, 2021 Share Posted August 17, 2021 Hey im trying to create a new area with this code: Area area = new Area(3245, 3158, 3240, 3150); But it somehow doesnt work, I got this error: Cannot resolve constructor 'Area(int, int, int, int)' Can anyone help me? Quote Link to comment Share on other sites More sharing options...
Gunman Posted August 17, 2021 Share Posted August 17, 2021 36 minutes ago, BloodyNoah said: Hey im trying to create a new area with this code: Area area = new Area(3245, 3158, 3240, 3150); But it somehow doesnt work, I got this error: Cannot resolve constructor 'Area(int, int, int, int)' Can anyone help me? Probably using the wrong import. Check your imports and see if it's importing Java's area class or OSBot's. OSBot's import import org.osbot.rs07.api.map.Area; 1 Quote Link to comment Share on other sites More sharing options...
BloodyNoah Posted August 18, 2021 Author Share Posted August 18, 2021 22 hours ago, Gunman said: Probably using the wrong import. Check your imports and see if it's importing Java's area class or OSBot's. OSBot's import import org.osbot.rs07.api.map.Area; Thanks! That was the problem. 1 Quote Link to comment Share on other sites More sharing options...