mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-28 07:55:45 +00:00
This commit is contained in:
11 files changed
+27
No files matched your search
@@ -131,6 +131,8 @@ public class BlockAltar extends BlockMod implements ILexiconable {
|
||||
|
||||
@Override
|
||||
public int getLightValue(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||
if(world.getBlockState(pos).getBlock() != this)
|
||||
return world.getBlockState(pos).getLightValue(world, pos);
|
||||
TileAltar tile = (TileAltar) world.getTileEntity(pos);
|
||||
return (tile != null && tile.hasLava) ? 15 : 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user