Skip to content

Commit

Permalink
How
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Feb 11, 2024
1 parent 56479a3 commit e2739c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
multi_filament_version=0.2.3
multi_filament_version=0.2.4

asm_version=9.5
unpick_version=2.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import net.legacyfabric.multifilament.util.FabricMetaMCVersion;

import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;

Expand All @@ -26,7 +27,7 @@ public FabricLikeMetadata(String url) {
private void computeData() {
try {
TypeReference<List<FabricMetaMCVersion>> metaType = new TypeReference<List<FabricMetaMCVersion>>() {};
List<FabricMetaMCVersion> versions = MultiFilamentGradlePlugin.OBJECT_MAPPER.readValue(url, metaType);
List<FabricMetaMCVersion> versions = MultiFilamentGradlePlugin.OBJECT_MAPPER.readValue(new URL(url), metaType);

if (versions != null) {
versions.forEach(v -> {
Expand Down

0 comments on commit e2739c4

Please sign in to comment.