mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-29 15:49:09 +01:00
Use the mapped bedrock item identifier (instead of java) to fill the record registry
This commit is contained in:
parent
9def94cba0
commit
d0bf0013ec
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ public class ItemRegistryPopulator {
|
|||
} else if (javaItem.javaIdentifier().startsWith("minecraft:music_disc_")) {
|
||||
// The Java record level event uses the item ID as the "key" to play the record
|
||||
Registries.RECORDS.register(javaItem.javaId(), SoundEvent.valueOf("RECORD_" +
|
||||
javaItem.javaIdentifier().replace("minecraft:music_disc_", "").toUpperCase(Locale.ENGLISH)));
|
||||
mapping.getBedrockIdentifier().replace("minecraft:music_disc_", "").toUpperCase(Locale.ENGLISH)));
|
||||
}
|
||||
|
||||
mappings.add(mapping);
|
||||
|
|
Loading…
Reference in a new issue