fix forge error

This commit is contained in:
Timo Ley 2020-07-29 09:27:44 +02:00 committed by GitHub
parent 30c7ee114a
commit 654a782742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public class ManifestJSON extends JSON {
AddonscriptJSON.Relation rel = new AddonscriptJSON.Relation();
rel.type = "modloader";
rel.id = "forge";
rel.versions = "[" + id.replaceAll("forge", "") + "]";
rel.versions = "[" + id.replaceAll("forge-", "") + "]";
rel.options = new ArrayList<>();
rel.options.add("required");
rel.options.add("client");