This commit is contained in:
2019-11-29 08:23:17 -06:00
parent 9c5b19bbc1
commit 75127f46e2
11 changed files with 211 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
// enables a timer with the 'timeName' binding passed in
filter = new java.util.HashMap();
filter.put('name', timerName);
timer = mcApi.timer().get(filter);
if (timer) {
mcApi.timer().enable([timer.id]);
}