From a1fa0564c3effb8ce12178506e37e85c8c6eaf42 Mon Sep 17 00:00:00 2001 From: "Luis C.M" <42545778+c0508383@users.noreply.github.com> Date: Sun, 24 Mar 2024 03:29:19 -0500 Subject: [PATCH] removed synchronized block --- .../java/noppes/npcs/controllers/data/AnimationData.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/noppes/npcs/controllers/data/AnimationData.java b/src/main/java/noppes/npcs/controllers/data/AnimationData.java index d89a56ae4..3bfb538c5 100644 --- a/src/main/java/noppes/npcs/controllers/data/AnimationData.java +++ b/src/main/java/noppes/npcs/controllers/data/AnimationData.java @@ -167,10 +167,8 @@ public class AnimationData implements IAnimationData { } if (CustomNpcs.proxy.hasClient() && newAnim != null) { - synchronized (CommonProxy.clientPlayingAnimations) { - CommonProxy.clientPlayingAnimations.remove(this.animation); - CommonProxy.clientPlayingAnimations.add(newAnim); - } + CommonProxy.clientPlayingAnimations.remove(this.animation); + CommonProxy.clientPlayingAnimations.add(newAnim); } this.animation = newAnim;