mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-20 20:12:30 +00:00
Bug fixes!
This commit is contained in:
1 parent
726d9ebb0a
commit
dd83381774
5 files changed
+17
-5
No files matched your search
@@ -66,10 +66,15 @@ public class BlockCardboardBox extends BlockContainer
|
||||
if(tileEntity.storedData != null)
|
||||
{
|
||||
BlockData data = tileEntity.storedData;
|
||||
|
||||
if(!data.block.canPlaceBlockAt(world, x, y, z))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if(data.block != null)
|
||||
{
|
||||
data.meta =data.block.onBlockPlaced(world, x, y, z, facing, hitX, hitY, hitZ, data.meta);
|
||||
data.meta = data.block.onBlockPlaced(world, x, y, z, facing, hitX, hitY, hitZ, data.meta);
|
||||
}
|
||||
|
||||
world.setBlock(x, y, z, data.block, data.meta, 3);
|
||||
|
||||
Reference in new issue
Block a user