Actually fix glider sound stuck on, and fix it without breaking servers

This commit is contained in:
lehjr 2017-04-04 13:46:08 -04:00
parent 7f50c70571
commit 0c9e49938b

View file

@ -83,8 +83,9 @@ public class PlayerUpdateHandler {
Musique.stopPlayerSound(player, SoundDictionary.SOUND_GLIDER);
}
}
} // kinda hacky fix for item that gets unequipped when the sound is playing, like when player dies or takes it off
else Musique.stopPlayerSound(player, SoundDictionary.SOUND_GLIDER);
}
else if ((player.worldObj.isRemote) && NuminaConfig.useSounds())
Musique.stopPlayerSound(player, SoundDictionary.SOUND_GLIDER);
}
}
}