"""
Sponge Knowledge Base
Test - onRun
"""

from java.util.concurrent.atomic import AtomicBoolean

def onInit():
    sponge.setVariable("onRun", AtomicBoolean(False))

def onRun():
    sponge.getVariable("onRun").set(True)
    return 0 # Incorrect result type

"""
Sponge Knowledge Base
Test - onRun
"""

from java.util.concurrent.atomic import AtomicBoolean

def onInit():
    sponge.setVariable("onRun", AtomicBoolean(False))

def onRun():
    sponge.getVariable("onRun").set(True)
    return 0 # Incorrect result type

Sponge Knowledge Base Test - onRun # Incorrect result type