mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-06 15:41:50 +00:00
Strip Minecraft identifier when playing non-mapped sounds to allow for bedrock-exclusive sounds to be played
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user