mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 04:57:27 +00:00
removed synchronized block
This commit is contained in:
1 parent
3f3700af4f
commit
a1fa0564c3
1 file changed
+2
-4
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user