Skip to content

Commit a199c49

Browse files
Fix dependency issues with DTBoP and DTTC
1 parent 6381e53 commit a199c49

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

src/main/java/com/ferreusveritas/dynamictrees/DynamicTrees.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
* </p>
5454
*
5555
*/
56-
@Mod(modid = ModConstants.MODID, version=ModConstants.VERSION,dependencies="after:computercraft;after:quark")
56+
@Mod(modid = ModConstants.MODID, version=ModConstants.VERSION,dependencies=ModConstants.DEPENDENCIES)
5757
public class DynamicTrees {
5858

5959
@Mod.Instance(ModConstants.MODID)

src/main/java/com/ferreusveritas/dynamictrees/ModConstants.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,29 @@ public class ModConstants {
66
public static final String VERSION = "@VERSION@";
77
//public static final String VERSION = "1.12.2-0.7.7e";
88

9+
public static final String AFTER = "after:";
10+
public static final String BEFORE = "before:";
11+
public static final String NEXT = ";";
12+
13+
//Other Mods
14+
public static final String COMPUTERCRAFT = "computercraft";
15+
public static final String QUARK = "quark";
16+
public static final String DYNAMICTREESBOP = "dynamictreesbop";
17+
public static final String DYNAMICTREESTC = "dynamictreestc";
18+
19+
//Other Mods
20+
public static final String DYNAMICTREESBOP_VER = "@[1.1d,)";
21+
public static final String DYNAMICTREESTC_VER = "@[0.1b,)";
22+
23+
public static final String DEPENDENCIES
24+
= AFTER + COMPUTERCRAFT
25+
+ NEXT
26+
+ AFTER + QUARK
27+
+ NEXT
28+
+ BEFORE + DYNAMICTREESBOP + DYNAMICTREESBOP_VER
29+
+ NEXT
30+
+ BEFORE + DYNAMICTREESTC + DYNAMICTREESTC_VER
31+
;
32+
33+
934
}

0 commit comments

Comments
 (0)