Set Animation Controller to load on server start

This commit is contained in:
Vidal committed 2026-02-16 12:40:02 -03:00
1 parent 01e18e0221
commit 6506de70b8
2 files changed
+2 -2

No files matched your search

@@ -45,14 +45,13 @@ public class AnimationController implements IAnimationHandler {
private static final String BUILTIN_ANIMATIONS_PATH = "/assets/customnpcs/animations";
private static final String BUILTIN_ANIMATIONS_RESOURCE = "assets/customnpcs/animations";
public static AnimationController Instance;
public static AnimationController Instance = new AnimationController();
private int lastUsedID = 0;
public AnimationController() {
Instance = this;
bootOrder = new HashMap<>();
animations = new HashMap<>();
load();
}
public static AnimationController getInstance() {