mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Added has() function
This commit is contained in:
1 parent
1a47b68621
commit
c90a5d9713
1 file changed
+4
@@ -88,6 +88,10 @@ public class AnimationController implements IAnimationHandler {
|
||||
this.animations.remove(name);
|
||||
}
|
||||
|
||||
public boolean has(String name) {
|
||||
return this.animations.containsKey(name);
|
||||
}
|
||||
|
||||
public IAnimation get(String name) {
|
||||
return this.animations.get(name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user