Fixed bounding block placement, fixed texture registration

This commit is contained in:
aidancbrady committed 2016-07-20 14:42:21 -04:00
1 parent a0d2d2f505
commit e8513f4dca
3 files changed
+3 -3

No files matched your search

@@ -297,7 +297,7 @@ public class ItemBlockMachine extends ItemBlock implements IEnergizedItem, ISpec
BlockPos pos1 = pos.add(xPos, yPos, zPos);
Block b = world.getBlockState(pos1).getBlock();
if(yPos > 255 || !b.isReplaceable(world, pos1))
if(pos1.getY() > 255 || !b.isReplaceable(world, pos1))
{
place = false;
}