mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-21 04:22:26 +00:00
Fix AE2 P2P registration.
This commit is contained in:
1 parent
766f0d5302
commit
4bf799e37d
2 files changed
+7
-6
No files matched your search
@@ -1212,6 +1212,11 @@ public class Mekanism
|
||||
hooks.loadOCDrivers();
|
||||
}
|
||||
|
||||
if(Loader.isModLoaded("appliedenergistics2"))
|
||||
{
|
||||
hooks.registerAE2P2P();
|
||||
}
|
||||
|
||||
//Packet registrations
|
||||
packetHandler.initialize();
|
||||
|
||||
|
||||
@@ -67,11 +67,7 @@ public final class MekanismHooks
|
||||
{
|
||||
loadCCPeripheralProviders();
|
||||
}
|
||||
|
||||
if(AE2Loaded)
|
||||
{
|
||||
hookAE2();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -155,7 +151,7 @@ public final class MekanismHooks
|
||||
}
|
||||
|
||||
@Method(modid = "appliedenergistics2")
|
||||
public void hookAE2() {
|
||||
public void registerAE2P2P() {
|
||||
String energyP2P = "add-p2p-attunement-rf-power";
|
||||
if(IC2Loaded)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user