mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Fixed bounding block placement, fixed texture registration
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user