mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Strip Minecraft identifier when playing non-mapped sounds to allow for bedrock-exclusive sounds to be played
This commit is contained in:
parent
3a39e9afee
commit
7154e1c816
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ public class JavaPlayerPlaySoundTranslator extends PacketTranslator<ServerPlaySo
|
|||
// no mapping
|
||||
session.getConnector().getLogger()
|
||||
.debug("[PlaySound] Defaulting to sound server gave us for " + packet.toString());
|
||||
playsound = packetSound;
|
||||
playsound = packetSound.replace("minecraft:", "");
|
||||
} else {
|
||||
playsound = soundMapping.getPlaysound();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue