This repository was archived by the owner on Jun 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
patchwork-dispatcher/src/main/java/net/patchworkmc/impl
patchwork-fml/src/main/java/net/minecraftforge/fml Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public static void gatherAndInitializeMods() {
9090 for (net .fabricmc .loader .api .ModContainer mod : FabricLoader .getInstance ().getAllMods ()) {
9191 String modId = mod .getMetadata ().getId ();
9292
93- CustomValue meta = mod .getMetadata ().getCustomValue ("patchwork:patcher_meta " );
93+ CustomValue meta = mod .getMetadata ().getCustomValue ("patchwork:patcherMeta " );
9494
9595 if (meta != null && meta .getAsObject ().get ("parent" ) != null ) {
9696 // synthetic mods are unreliable; don't invoke their entrypoints here
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ private ModFileInfo getModFileByContainer(ModContainer modContainer) {
115115 }
116116
117117 private ModFileInfo createModFileInfo (ModContainer modContainer ) {
118- CvObject patcherMeta = modContainer .getMetadata ().getCustomValue ("patchwork:patcher_meta " ).getAsObject ();
118+ CvObject patcherMeta = modContainer .getMetadata ().getCustomValue ("patchwork:patcherMeta " ).getAsObject ();
119119 // First try to find a patchwork:annotations entry in the patcher metadata. If it exists, then this is the "primary" mod
120120 // for a given JAR file.
121121 CustomValue annotations = patcherMeta .get ("annotations" );
You can’t perform that action at this time.
0 commit comments