mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-15 19:34:49 +00:00
Made animation threading compatible on the client & server side
This commit is contained in:
1 parent
cf4e5f22b1
commit
16c3395d8c
6 files changed
+176
-48
No files matched your search
@@ -1,6 +1,7 @@
|
||||
package noppes.npcs.client;
|
||||
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import noppes.npcs.CommonProxy;
|
||||
import noppes.npcs.client.gui.OverlayQuestTracking;
|
||||
import noppes.npcs.client.gui.customoverlay.OverlayCustom;
|
||||
import noppes.npcs.client.renderer.ImageData;
|
||||
@@ -21,7 +22,6 @@ public class ClientCacheHandler {
|
||||
public static HashMap<UUID, HashMap<Integer, SkinOverlay>> skinOverlays = new HashMap<>();
|
||||
|
||||
public static HashMap<UUID, AnimationData> playerAnimations = new HashMap<>();
|
||||
public static HashSet<Animation> playingAnimations = new HashSet<>();
|
||||
|
||||
public static Party party;
|
||||
|
||||
@@ -57,7 +57,7 @@ public class ClientCacheHandler {
|
||||
ClientCacheHandler.skinOverlays.clear();
|
||||
ClientCacheHandler.playerAnimations.clear();
|
||||
ClientCacheHandler.playerData.animationData.clearCache();
|
||||
ClientCacheHandler.playingAnimations.clear();
|
||||
CommonProxy.clientPlayingAnimations.clear();
|
||||
}
|
||||
|
||||
public static void clearSkinCache() {
|
||||
|
||||
Reference in new issue
Block a user