Events.on(Trigger.update, Runnable) can't be used
deltanedas opened this issue · 2 comments
deltanedas commented
Code:
Events.on(Trigger.update, extend(java.lang.Runnable, {run() {
print("tick");
}}))
Error: EvaluatorException: Can't find method arc.Events.on(mindustry.game.EventType$Trigger,adapter12)
Tested on BE 8187
Anuken commented
Events.run(Trigger.update, () => {})
deltanedas commented
oh thats it