BloodyNoah Posted August 17, 2021 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?
Gunman Posted August 17, 2021 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
BloodyNoah Posted August 18, 2021 Author 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