fixes #85 , Fixes issues with RF output
This commit is contained in:
parent
62e5ccddd0
commit
984b502ded
4 changed files with 11 additions and 9 deletions
|
@ -87,12 +87,12 @@ public class TileLesu extends TilePowerAcceptor {//TODO wrench
|
|||
|
||||
@Override
|
||||
public boolean canAcceptEnergy(ForgeDirection direction) {
|
||||
return direction.ordinal() != blockMetadata;
|
||||
return Functions.getIntDirFromDirection(direction) != worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canProvideEnergy(ForgeDirection direction) {
|
||||
return Functions.getIntDirFromDirection(direction) == blockMetadata;
|
||||
return Functions.getIntDirFromDirection(direction) == worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue