Fixed a load of crashes becuase of the new rotation system. Fixed powered tiles
This commit is contained in:
parent
5fe5fce53c
commit
fe11409b4e
14 changed files with 61 additions and 34 deletions
|
@ -87,12 +87,12 @@ public class TileLesu extends TilePowerAcceptor {//TODO wrench
|
|||
|
||||
@Override
|
||||
public boolean canAcceptEnergy(ForgeDirection direction) {
|
||||
return Functions.getIntDirFromDirection(direction) != worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
return Functions.getIntDirFromDirection(direction) != getMeta();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canProvideEnergy(ForgeDirection direction) {
|
||||
return Functions.getIntDirFromDirection(direction) == worldObj.getBlockMetadata(xCoord, yCoord, zCoord);
|
||||
return Functions.getIntDirFromDirection(direction) == getMeta();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue