Fixed spelling

This commit is contained in:
modmuss50 2015-05-02 14:55:11 +01:00
parent bd59b48d02
commit fc82d9aa56
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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());
}
}