Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit ca8b614

Browse files
authored
patcher_meta => patcherMeta (#200)
1 parent e488867 commit ca8b614

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • patchwork-dispatcher/src/main/java/net/patchworkmc/impl
  • patchwork-fml/src/main/java/net/minecraftforge/fml

patchwork-dispatcher/src/main/java/net/patchworkmc/impl/Patchwork.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

patchwork-fml/src/main/java/net/minecraftforge/fml/ModList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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");

0 commit comments

Comments
 (0)