Fix tanks not emitting light when they have a glowing liquid.

This commit is contained in:
Bernhard Bonigl committed 2014-08-21 22:21:20 +02:00
1 parent 8959a70387
commit 211cb9b2ff
1 file changed
+1 -6
@@ -101,12 +101,7 @@ public class LavaTankLogic extends MultiServantLogic implements IFluidHandler
{
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;
}