mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-03-13 11:18:19 +01:00
Fix mapping reading
This commit is contained in:
parent
2b9f519158
commit
ff35c6e752
1 changed files with 4 additions and 1 deletions
|
@ -85,7 +85,10 @@ public class MappingsReader_v2 extends MappingsReader {
|
|||
|
||||
@Override
|
||||
public void readBlockMappings(Path file, JsonNode mappingsRoot, BiConsumer<String, CustomBlockMapping> consumer) {
|
||||
throw new RuntimeException("Unimplemented; use the v1 format of block mappings");
|
||||
JsonNode blocksNode = mappingsRoot.get("blocks");
|
||||
if (blocksNode != null) {
|
||||
throw new RuntimeException("Unimplemented; use the v1 format of block mappings");
|
||||
}
|
||||
}
|
||||
|
||||
private void readItemDefinitionEntry(JsonNode data, String itemIdentifier, String model,
|
||||
|
|
Loading…
Add table
Reference in a new issue