mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Cleared animation cache on logout.
This commit is contained in:
1 parent
e536345556
commit
9bc2fbf672
2 files changed
+5
No files matched your search
@@ -109,6 +109,10 @@ public class AnimationData implements IAnimationData {
|
||||
this.cachedAnimationIDs.remove(id);
|
||||
}
|
||||
|
||||
public void clearAnimationCache() {
|
||||
this.cachedAnimationIDs.clear();
|
||||
}
|
||||
|
||||
public void viewAnimation(Animation animation, EntityLivingBase entity, AnimationData animationData, NBTTagCompound animationNBT) {
|
||||
NBTTagCompound data = animationData.writeToNBT(new NBTTagCompound());
|
||||
if (animation != null) {
|
||||
|
||||
Reference in new issue
Block a user