Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Strip Minecraft identifier when playing non-mapped sounds to allow for bedrock-exclusive sounds to be played
Dieser Commit ist enthalten in:
Ursprung
3a39e9afee
Commit
7154e1c816
@ -57,7 +57,7 @@ public class JavaPlayerPlaySoundTranslator extends PacketTranslator<ServerPlaySo
|
|||||||
// no mapping
|
// no mapping
|
||||||
session.getConnector().getLogger()
|
session.getConnector().getLogger()
|
||||||
.debug("[PlaySound] Defaulting to sound server gave us for " + packet.toString());
|
.debug("[PlaySound] Defaulting to sound server gave us for " + packet.toString());
|
||||||
playsound = packetSound;
|
playsound = packetSound.replace("minecraft:", "");
|
||||||
} else {
|
} else {
|
||||||
playsound = soundMapping.getPlaysound();
|
playsound = soundMapping.getPlaysound();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren