way more reliable DragonAPI patch

This commit is contained in:
FalsePattern committed 2022-07-03 19:17:16 +02:00
1 parent 76a9345665
commit 6e66066f65
8 files changed
+203 -81

No files matched your search

@@ -1,6 +1,5 @@
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;
@@ -16,10 +15,7 @@ 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").and((x) -> {
DragonAPICompat.activate();
return true;
})),
DRAGONAPI("DragonAPI", false, startsWith("dragonapi")),
GALACTICRAFTCORE("GalactiCraftCore", false, startsWith("galacticraftcore")),
MFQM("More Fun Quicksand Mod", false, startsWith("morefunquicksandmod-")),
UBC("Underground Biomes Constructs", false, startsWith("undergroundbiomesconstructs-")),