From 21c3af50083f638bf650b420813b7c221fba6802 Mon Sep 17 00:00:00 2001 From: melontini <104443436+melontini@users.noreply.github.com> Date: Fri, 19 Apr 2024 15:00:40 +0700 Subject: [PATCH] Use server mappings --- gradle/mappings.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/mappings.gradle b/gradle/mappings.gradle index ffad557..57d1c3f 100644 --- a/gradle/mappings.gradle +++ b/gradle/mappings.gradle @@ -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"))