-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into sb-longer-chat-messages
- Loading branch information
Showing
5 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
src/main/java/com/mitchej123/hodgepodge/mixins/late/extratic/MixinPartsHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package com.mitchej123.hodgepodge.mixins.late.extratic; | ||
|
||
import org.spongepowered.asm.mixin.Mixin; | ||
import org.spongepowered.asm.mixin.injection.At; | ||
import org.spongepowered.asm.mixin.injection.Redirect; | ||
|
||
import cpw.mods.fml.common.FMLLog; | ||
import glassmaker.extratic.common.PartsHandler; | ||
|
||
@Mixin(PartsHandler.class) | ||
public class MixinPartsHandler { | ||
|
||
/** | ||
* @author DrParadox | ||
* @reason Breaks Thermal Foundation's TConstruct material integration | ||
*/ | ||
@Redirect( | ||
method = "addMatrials", | ||
at = @At(value = "INVOKE", target = "Lglassmaker/extratic/common/PartsHandler;_addM3PreciousMaterials()V"), | ||
remap = false) | ||
private static void hodgepodge$disableM3PreciousMaterials() { | ||
FMLLog.info("Disabled ExtraTiC material integration with Metallurgy 3 Precious Materials"); | ||
} | ||
|
||
/** | ||
* @author DrParadox | ||
* @reason Breaks Thermal Foundation's TConstruct parts integration | ||
*/ | ||
@Redirect( | ||
method = "addParts", | ||
at = @At(value = "INVOKE", target = "Lglassmaker/extratic/common/PartsHandler;_addM3PreciousParts()V"), | ||
remap = false) | ||
private static void hodgepodge$disableM3PreciousParts() { | ||
FMLLog.info("Disabled ExtraTiC part integration with Metallurgy 3 Precious Materials"); | ||
} | ||
} |