Skip to content

Commit

Permalink
Merge pull request #57 from buthed010203/patch-1
Browse files Browse the repository at this point in the history
Fix #56
  • Loading branch information
xzxADIxzx committed May 30, 2023
2 parents 9cc1d0e + bdcdf75 commit 0cf6946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/java/scheme/SchemeUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void load() {
mod = mods.getMod(Main.class);
url = ghApi + "/repos/" + repo + "/releases/latest";

Jval meta = Jval.read(new ZipFi(mod.file).child("mod.hjson").readString());
Jval meta = Jval.read(mod.root.child("mod.hjson").readString());
mod.meta.author = meta.getString("author"); // restore colors in mod's meta
mod.meta.description = meta.getString("description");
}
Expand Down

0 comments on commit 0cf6946

Please sign in to comment.