Full drawers / controller should not pass light through.

This commit is contained in:
Justin Aquadro committed 2015-06-06 01:10:16 -04:00
1 parent f3c947e8f9
commit 534e040fe8
2 files changed
+4

No files matched your search

@@ -43,6 +43,7 @@ public class BlockController extends BlockContainer implements INetworked
setHardness(5f);
setBlockName(blockName);
setStepSound(Block.soundTypeStone);
setLightOpacity(255);
setBlockBounds(0, 0, 0, 1, 1, 1);
setTickRandomly(true);
}
@@ -109,6 +109,9 @@ public class BlockDrawers extends BlockContainer implements IExtendedBlockClickH
setHardness(5f);
setStepSound(Block.soundTypeWood);
setBlockName(blockName);
if (!halfDepth)
setLightOpacity(255);
}
@Override