- Joined
- Oct 30, 2014
- Messages
- 3,458
- Thread Author
- #1
Code:
(05:17:50) java.lang.NullPointerException
(05:17:50) at com.runemate.game.api.hybrid.util.Regex.getPatternForExactString(xpb:169)
(05:17:50) at com.runemate.game.api.hybrid.util.Regex.getPatternsForExactStrings(xpb:239)
(05:17:50) at com.runemate.game.api.hybrid.queries.GameObjectQueryBuilder.names(xvb:179)
(05:17:50) at productions.celestial.citadel.tasks.TeleportToCurrent.validate(TeleportToCurrent.java:25)
(05:17:50) at com.runemate.game.api.script.framework.task.TaskScript.onLoop(qxb:232)
(05:17:50) at com.runemate.game.api.script.framework.LoopingScript.run(htb:239)
(05:17:50) at com.runemate.game.api.script.framework.AbstractScript.start(jnb:156)
(05:17:50) at app.bj.run(ukb:214)
My code:
Code:
final GameObjectQueryBuilder builder = GameObjects.newQuery().names(resource.getName()).actions(resource.getAction());
resource#getName() is "Root".