Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-28 09:00:09 +01:00
Fix namespaced 1.12->1.13 sound conversion
Dieser Commit ist enthalten in:
Ursprung
b23c01c44b
Commit
3c7d481a39
@ -335,7 +335,8 @@ public class WorldPackets {
|
|||||||
handler(new PacketHandler() {
|
handler(new PacketHandler() {
|
||||||
@Override
|
@Override
|
||||||
public void handle(PacketWrapper wrapper) throws Exception {
|
public void handle(PacketWrapper wrapper) throws Exception {
|
||||||
String newSoundId = NamedSoundRewriter.getNewId(wrapper.get(Type.STRING, 0));
|
String sound = wrapper.get(Type.STRING, 0).replace("minecraft:", "");
|
||||||
|
String newSoundId = NamedSoundRewriter.getNewId(sound);
|
||||||
wrapper.set(Type.STRING, 0, newSoundId);
|
wrapper.set(Type.STRING, 0, newSoundId);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren