- Joined
- Dec 10, 2014
- Messages
- 3,255
- Thread Author
- #1
I'm pretty sure onStart should be ran on a bot thread. I can't reproduce this error locally though.
Mainly posting so that I remember to investigate it.
@Cloud @SlashnHax
Code:
java.lang.UnsupportedOperationException: Calling methods that must query the session for information is no longer allowed within non-bot threads. at nul.iIiiiIiiIIiI.null(ftb:191) at com.runemate.game.api.hybrid.Environment.getGameType(gtb:137) at com.runemate.game.api.hybrid.Environment.isRS3(gtb:107) at com.alphav2.api.bot.AlphaBot.onStart(AlphaBot.java:88) at com.runemate.game.api.script.framework.AbstractScript.start(pza:27)
@Cloud @SlashnHax