This problem is occurring in Jython:
Why is it throwing this? cycleevent being a Java abstract class.
Code:
File "<iostream>", line 0, in execute NameError: x
Code:
class test(cycleevent):
x = 100
def execute(a, b):
global x
x -= 1
player.sendMessage("testing....")
if x == 0:
b.stop()
def stop(a):
return
Comment