Skip to content
This repository was archived by the owner on Oct 29, 2019. It is now read-only.

Commit 6cbfab6

Browse files
author
Mitchell Katz
committed
FIX V2
1 parent 94593b6 commit 6cbfab6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/cc/hyperium/installer/api/Installer.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ public void install() {
9393
}
9494

9595

96-
if (config.getVersion().getName().equals("LOCAL")) {
96+
boolean local1 = config.getVersion().getName().equals("LOCAL");
97+
if (local1) {
9798
phrase = Phrase.COPY_VERSION;
9899
File local;
99100

@@ -430,7 +431,7 @@ public void install() {
430431
return;
431432
}
432433
JsonHolder lib = new JsonHolder();
433-
lib.put("name", "cc.hyperium:Hyperium:" + config.getVersion().getName() + " (" + config.getVersion().getId() + ")");
434+
lib.put("name", "cc.hyperium:Hyperium:" + config.getVersion().getName() + (local1 ? "" : " (" + config.getVersion().getId() + ")"));
434435
JsonArray libs = json.optJSONArray("libraries");
435436
libs.add(lib.getObject());
436437
libs.add(new JsonHolder().put("name", "net.minecraft:launchwrapper:Hyperium").getObject());

0 commit comments

Comments
 (0)