mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-13 00:47:31 +00:00
Full drawers / controller should not pass light through.
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user