March 25, 201510 yr What is the best code to use if i'd like to interact with my amulet of glory in my house? Because if i try this: objects.closest("Amulet of Glory").interact("Karamja"); it will fail to click on it and it takes like a minute or more till it finaly clicks right.
March 25, 201510 yr Entity glory = objects.closest("amulet of glory"); If(glory!=null) glory.interact("karamja"); Pretty much the same thing, just adds a null check and strores the glory into an entity. That's how I'd do it anyway. Not sure if this will change your issue or not though.
Create an account or sign in to comment