From 81267ea8c8fdfcf90b5ca5b9bcaf7c9994df865c Mon Sep 17 00:00:00 2001 From: iam4722202468 Date: Fri, 10 Mar 2023 17:41:00 -0500 Subject: [PATCH] Fix get currently playing --- .../net/worldseed/multipart/animations/AnimationHandlerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/worldseed/multipart/animations/AnimationHandlerImpl.java b/src/main/java/net/worldseed/multipart/animations/AnimationHandlerImpl.java index 81322da..1dc5a01 100644 --- a/src/main/java/net/worldseed/multipart/animations/AnimationHandlerImpl.java +++ b/src/main/java/net/worldseed/multipart/animations/AnimationHandlerImpl.java @@ -210,6 +210,7 @@ public void destroy() { } public String getPlaying() { + if (this.playingOnce != null) return this.playingOnce; var playing = this.repeating.firstEntry(); return playing != null ? playing.getValue() : null; }