Fixed small issue with get tile meta
This commit is contained in:
parent
5d5f4ec929
commit
aacc73102d
1 changed files with 1 additions and 1 deletions
|
@ -156,6 +156,6 @@ public class BlockMachineBase extends BlockContainer {
|
|||
}
|
||||
|
||||
public int getTileMeta(IBlockAccess blockAccess, int x, int y, int z){
|
||||
return blockAccess.getTileEntity(x, y, z) != null ? getTileMeta(blockAccess.getTileEntity(x, y,z).getWorldObj(), x, y, z) : null;
|
||||
return blockAccess.getTileEntity(x, y, z) != null ? getTileMeta(blockAccess.getTileEntity(x, y,z).getWorldObj(), x, y, z) : 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue