mirror of
https://github.com/SPAWNRYS-ban/FUCK-CustomDiscs.git
synced 2025-12-11 22:09:43 +05:00
Hand swing fix
Fixed a small issue when the server restarts and the hand does not swing
This commit is contained in:
@@ -132,8 +132,9 @@ public class JukeBox implements Listener {
|
|||||||
container.remove(key);
|
container.remove(key);
|
||||||
tileState.update();
|
tileState.update();
|
||||||
|
|
||||||
if (isAudioPlayerPlaying(playerMap, id)) {
|
|
||||||
player.swingMainHand();
|
player.swingMainHand();
|
||||||
|
|
||||||
|
if (isAudioPlayerPlaying(playerMap, id)) {
|
||||||
stopAudioPlayer(playerMap, id);
|
stopAudioPlayer(playerMap, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user