Skip to content

Commit

Permalink
Fix tanks not emitting light when they have a glowing liquid.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonii-xx committed Aug 21, 2014
1 parent 8959a70 commit 211cb9b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/java/tconstruct/smeltery/logic/LavaTankLogic.java
Expand Up @@ -101,12 +101,7 @@ public int getBrightness ()
{
if (containsFluid())
{
int id = tank.getFluid().fluidID;
if (id < 4096)
{
Block block = Block.getBlockById(id);
return block.getLightValue();
}
return tank.getFluid().getFluid().getLuminosity();
}
return 0;
}
Expand Down

0 comments on commit 211cb9b

Please sign in to comment.