CommandHelper

CommandHelper

46.5k Downloads

Problem with closures in set_timeout, set_interval, queue_push on builds above 2783

LadyCailinBot opened this issue ยท 1 comments

commented

CMDHELPER-2983 - Reported by VergilPrime

Using latest version of spigot as of 9/9, CH 3.3.1 Snapshot 2782 and above (tested on 2783, 2784, and 2788)

set_timeout(100,closure(broadcast('test')))
set_interval(100,closure(broadcast('test')))
queue_push(closure(broadcast('test')))
none of these work.

execute(closure(broadcast('test')))
works though.

2782 might be the first build with this issue but I couldn't get it to run long enough to actually test the issue, something about dynamic procs. 2780 is issue free!

commented

Comment by LadyCailin

This should be fixed in the latest commits.