Fix AE2 P2P registration.
This commit is contained in:
parent
766f0d5302
commit
4bf799e37d
2 changed files with 7 additions and 6 deletions
|
@ -1212,6 +1212,11 @@ public class Mekanism
|
||||||
hooks.loadOCDrivers();
|
hooks.loadOCDrivers();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(Loader.isModLoaded("appliedenergistics2"))
|
||||||
|
{
|
||||||
|
hooks.registerAE2P2P();
|
||||||
|
}
|
||||||
|
|
||||||
//Packet registrations
|
//Packet registrations
|
||||||
packetHandler.initialize();
|
packetHandler.initialize();
|
||||||
|
|
||||||
|
|
|
@ -68,10 +68,6 @@ public final class MekanismHooks
|
||||||
loadCCPeripheralProviders();
|
loadCCPeripheralProviders();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(AE2Loaded)
|
|
||||||
{
|
|
||||||
hookAE2();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -155,7 +151,7 @@ public final class MekanismHooks
|
||||||
}
|
}
|
||||||
|
|
||||||
@Method(modid = "appliedenergistics2")
|
@Method(modid = "appliedenergistics2")
|
||||||
public void hookAE2() {
|
public void registerAE2P2P() {
|
||||||
String energyP2P = "add-p2p-attunement-rf-power";
|
String energyP2P = "add-p2p-attunement-rf-power";
|
||||||
if(IC2Loaded)
|
if(IC2Loaded)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue