mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-13 00:47:31 +00:00
Fix lighting errors when smooth lighting is off.
This commit is contained in:
1 parent
73f8567c94
commit
863425f89b
2 files changed
+4
-3
No files matched your search
@@ -39,6 +39,8 @@ public class BlockController extends BlockContainer implements INetworked
|
||||
public BlockController (String blockName) {
|
||||
super(Material.rock);
|
||||
|
||||
this.useNeighborBrightness = true;
|
||||
|
||||
setCreativeTab(ModCreativeTabs.tabStorageDrawers);
|
||||
setHardness(5f);
|
||||
setBlockName(blockName);
|
||||
|
||||
@@ -104,14 +104,13 @@ public class BlockDrawers extends BlockContainer implements IExtendedBlockClickH
|
||||
|
||||
this.drawerCount = drawerCount;
|
||||
this.halfDepth = halfDepth;
|
||||
this.useNeighborBrightness = true;
|
||||
|
||||
setCreativeTab(ModCreativeTabs.tabStorageDrawers);
|
||||
setHardness(5f);
|
||||
setStepSound(Block.soundTypeWood);
|
||||
setBlockName(blockName);
|
||||
|
||||
if (!halfDepth)
|
||||
setLightOpacity(255);
|
||||
setLightOpacity(255);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user