File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/main/java/eu/decentsoftware/holograms/api/animations Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 6
6
import eu .decentsoftware .holograms .api .animations .text .*;
7
7
import eu .decentsoftware .holograms .api .utils .Common ;
8
8
import eu .decentsoftware .holograms .api .utils .file .FileUtils ;
9
+ import eu .decentsoftware .holograms .api .utils .scheduler .S ;
9
10
import eu .decentsoftware .holograms .api .utils .tick .Ticked ;
10
11
import org .apache .commons .lang .Validate ;
11
12
@@ -46,9 +47,11 @@ public void reload() {
46
47
this .registerAnimation (new BurnAnimation ());
47
48
this .registerAnimation (new ScrollAnimation ());
48
49
this .registerAnimation (new ColorsAnimation ());
49
- this .loadCustomAnimations ();
50
50
this .step .set (0 );
51
51
this .register ();
52
+
53
+ // Load custom animations asynchronously
54
+ S .async (this ::loadCustomAnimations );
52
55
}
53
56
54
57
public long getStep () {
You can’t perform that action at this time.
0 commit comments