summaryrefslogtreecommitdiff
path: root/ihl/enviroment/LightBulbBlock.java
diff options
context:
space:
mode:
Diffstat (limited to 'ihl/enviroment/LightBulbBlock.java')
-rw-r--r--ihl/enviroment/LightBulbBlock.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/ihl/enviroment/LightBulbBlock.java b/ihl/enviroment/LightBulbBlock.java
index 77ee8f8..720ca4e 100644
--- a/ihl/enviroment/LightBulbBlock.java
+++ b/ihl/enviroment/LightBulbBlock.java
@@ -25,6 +25,7 @@ public class LightBulbBlock extends Block implements ITileEntityProvider {
this.setResistance(0.5F);
this.setCreativeTab(IHLCreativeTab.tab);
this.setBlockTextureName("glass");
+ this.setLightOpacity(16);
}
@Override
@@ -108,11 +109,11 @@ public class LightBulbBlock extends Block implements ITileEntityProvider {
}
public int getLightValue(IBlockAccess world, int x, int y, int z) {
- TileEntity te = world.getTileEntity(x, y, z);
+/* TileEntity te = world.getTileEntity(x, y, z);
if (te != null && te instanceof LightBulbTileEntity) {
LightBulbTileEntity ate = (LightBulbTileEntity) te;
return ate.getActive() ? 15 : 0;
- }
+ }*/
return 0;
}
}