Hand swing fix

Fixed a small issue when the server restarts and the hand does not swing
This commit is contained in:
Navoei
2022-07-12 01:20:35 -05:00
parent 2e3d7c4bb3
commit 2f309fa58a

View File

@@ -132,8 +132,9 @@ public class JukeBox implements Listener {
container.remove(key);
tileState.update();
if (isAudioPlayerPlaying(playerMap, id)) {
player.swingMainHand();
if (isAudioPlayerPlaying(playerMap, id)) {
stopAudioPlayer(playerMap, id);
}