properly fix dragonapi compat

This commit is contained in:
FalsePattern committed 2022-07-03 00:36:21 +02:00
1 parent 254a438ba1
commit 72a65de83f
3 files changed
+82 -2

No files matched your search

@@ -1,5 +1,6 @@
package com.falsepattern.endlessids.mixin.plugin;
import com.falsepattern.endlessids.mixin.util.DragonAPICompat;
import com.falsepattern.lib.mixin.ITargetedMod;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@@ -15,7 +16,10 @@ public enum TargetedMod implements ITargetedMod {
ATG("Alternate Terrain Generation", true, startsWith("atg")),
BOP("Biomes O' Plenty", true, startsWith("biomesoplenty-")),
COFHLIB("CoFH Lib", true, startsWith("cofhlib-")),
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
DRAGONAPI("DragonAPI", false, startsWith("dragonapi").and((x) -> {
DragonAPICompat.activate();
return true;
})),
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
MFQM("More Fun Quicksand Mod", false, startsWith("morefunquicksandmod-")),
UBC("Underground Biomes Constructs", false, startsWith("undergroundbiomesconstructs-")),