1010import com .gtnewhorizon .gtnhlib .mixin .Side ;
1111import com .gtnewhorizon .gtnhlib .mixin .TargetedMod ;
1212
13- import cpw .mods .fml .common .Loader ;
1413import de .pilz .alternativechunkloading .configuration .ConfigFixes ;
1514
1615public enum Mixins implements IMixins {
@@ -30,14 +29,16 @@ public enum Mixins implements IMixins {
3029 new MixinBuilder ("Add compatibility with Dimensional Doors" ).addTargetedMod (TargetedModEx .DIMDOORS )
3130 .setSide (Side .BOTH )
3231 .setPhase (Phase .LATE )
33- .setApplyIf (
34- () -> ConfigFixes .fixDimDoorsCompatibility && Loader .isModLoaded (TargetedModEx .DIMDOORS .getModName ())
35- && Loader .instance ()
36- .getIndexedModList ()
37- .get (TargetedModEx .DIMDOORS .getModName ())
38- .getMod ()
39- .getClass ()
40- .getName () == "DimDoors" )
32+ .setApplyIf (() -> ConfigFixes .fixDimDoorsCompatibility /*
33+ * && Loader.isModLoaded(TargetedModEx.DIMDOORS.
34+ * getModName())
35+ * && Loader.instance()
36+ * .getIndexedModList()
37+ * .get(TargetedModEx.DIMDOORS.getModName())
38+ * .getMod()
39+ * .getClass()
40+ * .getName() == "DimDoors"
41+ */ )
4142 .addMixinClasses (
4243 "dimdoors.modern.MixinChunkBlockSetter" ,
4344 "dimdoors.modern.MixinDungeonSchematic" ,
@@ -47,14 +48,16 @@ public enum Mixins implements IMixins {
4748 new MixinBuilder ("Add compatibility with Dimensional Doors" ).addTargetedMod (TargetedModEx .DIMDOORS )
4849 .setSide (Side .BOTH )
4950 .setPhase (Phase .LATE )
50- .setApplyIf (
51- () -> ConfigFixes .fixDimDoorsCompatibility && Loader .isModLoaded (TargetedModEx .DIMDOORS .getModName ())
52- && Loader .instance ()
53- .getIndexedModList ()
54- .get (TargetedModEx .DIMDOORS .getModName ())
55- .getMod ()
56- .getClass ()
57- .getName () == "mod_pocketDim" )
51+ .setApplyIf (() -> ConfigFixes .fixDimDoorsCompatibility /*
52+ * && Loader.isModLoaded(TargetedModEx.DIMDOORS.
53+ * getModName())
54+ * && Loader.instance()
55+ * .getIndexedModList()
56+ * .get(TargetedModEx.DIMDOORS.getModName())
57+ * .getMod()
58+ * .getClass()
59+ * .getName() == "mod_pocketDim"
60+ */ )
5861 .addMixinClasses (
5962 "dimdoors.legacy.MixinChunkBlockSetter" ,
6063 "dimdoors.legacy.MixinDungeonSchematic" ,
0 commit comments