Jump to content

error when trying to interact with fishing object


Recommended Posts

Posted

attempt to interact in the following way:

RS2Object fish_pot = getObjects().closest("Fishing spot");
fish_pot.interact("Small Net");

and I get the following error:

[ERROR][Bot #1][05/09 02:23:35 PM]: Error in script executor!
java.lang.NullPointerException
    at Scripts.Bot.onLoop(Bot.java:479)
    at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ph:114)
    at java.lang.Thread.run(Unknown Source)

 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...