mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Make the light emitted by tanks proportional to how full they are
This commit is contained in:
1 parent
211cb9b2ff
commit
762f74bc7a
1 file changed
+1
-1
@@ -101,7 +101,7 @@ public class LavaTankLogic extends MultiServantLogic implements IFluidHandler
|
||||
{
|
||||
if (containsFluid())
|
||||
{
|
||||
return tank.getFluid().getFluid().getLuminosity();
|
||||
return (tank.getFluid().getFluid().getLuminosity() * tank.getFluidAmount()) / tank.getCapacity();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user