Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved NPE BoB.isOpen

Author of MaxiBots
Joined
Dec 3, 2013
Messages
7,032
The line that caused this was
InterfaceWindows.getInventory().isOpen()

Why is it checking for the BoB? Is it because a BoB interface disables the inventory?

Code:
java.lang.NullPointerException
    at com.runemate.game.api.rs3.local.hud.interfaces.BeastOfBurden.isOpen(mvb:142)
    at nul.iIIIIIiiIIII.isOpen(oxb:154)
    at com.runemate.maxibots.task.woodcutter.tasks.ActionbarDrop.dropEoC(ActionbarDrop.java:88)
    at com.runemate.maxibots.task.woodcutter.tasks.ActionbarDrop.execute(ActionbarDrop.java:44)
    at com.runemate.api.framework.task.MaxiTaskScript.recurseTasks(MaxiTaskScript.java:70)
    at com.runemate.api.framework.task.MaxiTaskScript.onLoop(MaxiTaskScript.java:62)
    at com.runemate.api.framework.MaxiLoopingScript.run(MaxiLoopingScript.java:22)
    at com.runemate.game.api.script.framework.AbstractScript.start(aqb:106)
    at nul.iIIIIIiIIIii.run(ijc:128)

@Cloud
 
Top