mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Fix tanks not emitting light when they have a glowing liquid.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user