Skip to content

Commit

Permalink
Use server mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed Apr 19, 2024
1 parent 1ebc8ff commit 21c3af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/mappings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ tasks.register("downloadCommanderMappings") {
Files.createDirectories(processed.toPath().getParent())

MemoryMappingTree tree = new MemoryMappingTree()
MappingReader.read(new InputStreamReader(new URL(getManifest().getAsJsonObject("downloads").getAsJsonObject("client_mappings").get("url").getAsString()).openStream()), new MappingSourceNsSwitch(tree, "target", true))
MappingReader.read(new InputStreamReader(new URL(getManifest().getAsJsonObject("downloads").getAsJsonObject("server_mappings").get("url").getAsString()).openStream()), new MappingSourceNsSwitch(tree, "target", true))
tree.setSrcNamespace("official")
tree.setDstNamespaces(List.of("mojang"))

Expand Down

0 comments on commit 21c3af5

Please sign in to comment.