File tree Expand file tree Collapse file tree
src/main/java/gg/projects/mundoskasync Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ public TriggerItem walk(Event e) {
5454 return null ;
5555 }
5656
57-
5857 @ Override
5958 public String toString (Event e , boolean debug ) {
6059 return "async wait " + delay .toString (e , debug );
6160 }
62- }
61+
62+ }
Original file line number Diff line number Diff line change @@ -12,8 +12,9 @@ public static void sync(Runnable runnable) {
1212 }
1313
1414 public static void async (Runnable runnable ) {
15- //scheduler.runTaskAsynchronously(MundoSKAsync.getInstance(), runnable);
16- TaskExecutor .executeAsync (runnable );
15+ scheduler .runTaskAsynchronously (MundoSKAsync .getInstance (), runnable );
16+ //TaskExecutor.executeAsync(runnable);
17+ // ^ This causes to remove local variables early even not with async calls. idk why
1718 }
1819
1920 public static void syncDelay (long ticks , Runnable runnable ) {
You can’t perform that action at this time.
0 commit comments