hi, all im just trying to do is seperate some functions to some other .java files in my project so they all aren't in the same main.java, but whenever i try to use them i get null error.
main.java
import org.osbot.rs07.api.ui.Message;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import java.awt.*;
@ScriptManifest(name = "script", author = "Alkku", version = 1.0, info = "", logo = "")
public class main extends Script
{
TutorialIsland tutisland;
static boolean TutorialIslandCompleted = false, XFER = false;
@Override
public void onStart()
{
tutisland = new TutorialIsland();
}
@Override
public int onLoop()
{
if (!TutorialIslandCompleted)
tutisland.handle();
return (random(150, 350));
}
public void onMessage(Message msg) throws InterruptedException
{
String text = msg.getMessage().toLowerCase();
}
}
and my TutorialIsland.java
public class TutorialIsland extends main
{
public void handle()
{
log(getConfigs().get(281));
}
}