Jump to content

getObjects().closest("Staircase"); In lummy top bank returning null


Recommended Posts

Posted
28 minutes ago, Malcolm said:

what is your code?
Works for me.


        final RS2Object stairs = getObjects().closest("Staircase");
        if (stairs != null) {
            log("NOT NULL");
        }

 

d64f1370d51e047db7d603e6a6986e1f.gif

Sorry! It was just me being a dumbass and using the wrong variable name lol.
Thanks for the help though :)

Issue fixed.

  • Like 1

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...