Skip to content

Commit 419b128

Browse files
committed
fix installer type, fixes #58
1 parent 15462f3 commit 419b128

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/io/github/ImpactDevelopment/installer/target/targets/VanillaProfiles.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ public void addOrMutate(String name, String version) {
8888
profile.remove("icon");
8989
}
9090
profile.addProperty("icon", ICON);
91+
92+
if (profile.has("type")) {
93+
profile.remove("type");
94+
}
95+
profile.addProperty("type", "custom");
9196
}
9297

9398
/**

0 commit comments

Comments
 (0)