mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 12:15:11 +00:00
completely annihilated animation caching (not worth it)
This commit is contained in:
1 parent
4d963b0205
commit
e5673a85e7
7 files changed
+11
-83
No files matched your search
@@ -8,7 +8,6 @@ import noppes.npcs.LogWriter;
|
||||
import noppes.npcs.api.handler.IAnimationHandler;
|
||||
import noppes.npcs.api.handler.data.IAnimation;
|
||||
import noppes.npcs.controllers.data.Animation;
|
||||
import noppes.npcs.controllers.data.PlayerData;
|
||||
import noppes.npcs.util.NBTJsonUtil;
|
||||
|
||||
import java.io.*;
|
||||
@@ -121,10 +120,6 @@ public class AnimationController implements IAnimationHandler {
|
||||
animations.remove(animation.getID());
|
||||
animations.put(animation.getID(), (Animation) animation);
|
||||
|
||||
for (PlayerData playerData : PlayerDataController.Instance.getAllPlayerData()) {
|
||||
playerData.animationData.uncacheAnimation(animation.getID());
|
||||
}
|
||||
|
||||
saveAnimationMap();
|
||||
|
||||
// Save Animation File
|
||||
|
||||
Reference in new issue
Block a user