diff --git a/src/main/java/techreborn/Core.java b/src/main/java/techreborn/Core.java index 61934e404..900eb1667 100644 --- a/src/main/java/techreborn/Core.java +++ b/src/main/java/techreborn/Core.java @@ -45,7 +45,7 @@ public class Core { .replace(ModInfo.MOD_ID, "TechReborn"); config = ConfigTechReborn.initialize(new File(path)); - LogHelper.info("PreInitialization Compleate"); + LogHelper.info("PreInitialization Complete"); } @Mod.EventHandler @@ -75,7 +75,7 @@ public class Core { FMLCommonHandler.instance().bus() .register(new MultiblockServerTickHandler()); - LogHelper.info("Initialization Compleate"); + LogHelper.info("Initialization Complete"); } @Mod.EventHandler diff --git a/src/main/java/techreborn/partSystem/parts/CablePart.java b/src/main/java/techreborn/partSystem/parts/CablePart.java index 21e8cf090..af34e84a3 100644 --- a/src/main/java/techreborn/partSystem/parts/CablePart.java +++ b/src/main/java/techreborn/partSystem/parts/CablePart.java @@ -447,12 +447,13 @@ public class CablePart extends ModPart implements IEnergyConductor { @Override public boolean acceptsEnergyFrom(TileEntity tileEntity, ForgeDirection forgeDirection) { - return connectedSides.containsKey(forgeDirection); + return connectedSides.containsKey(forgeDirection.getOpposite()); } @Override public boolean emitsEnergyTo(TileEntity tileEntity, ForgeDirection forgeDirection) { - return connectedSides.containsKey(forgeDirection); + //This is not called. + return connectedSides.containsKey(forgeDirection.getOpposite()); } } \ No newline at end of file