Fix lighting errors when smooth lighting is off.

This commit is contained in:
Justin Aquadro committed 2015-06-21 16:19:35 -04:00
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