3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-07-10 23:38:06 +02:00

Strip Minecraft identifier when playing non-mapped sounds to allow for bedrock-exclusive sounds to be played

Dieser Commit ist enthalten in:
RednedEpic 2020-05-24 14:55:48 -05:00
Ursprung 3a39e9afee
Commit 7154e1c816

Datei anzeigen

@ -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();
}