This commit is contained in:
Anuken 2019-11-20 14:50:57 -05:00
parent fac217a836
commit f2c9c2e5fb
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ public class LiquidBridge extends ItemBridge{
if(!linkValid(tile, other)){
tryDumpLiquid(tile, entity.liquids.current());
}else{
((ItemBridgeEntity)world.tile(entity.link).entity).incoming.add(tile.pos());
if(entity.cons.valid()){
float alpha = 0.04f;
if(hasPower){

View File

@ -30,6 +30,8 @@ public class LiquidExtendingBridge extends ExtendingItemBridge{
if(!linkValid(tile, other)){
tryDumpLiquid(tile, entity.liquids.current());
}else{
((ItemBridgeEntity)world.tile(entity.link).entity).incoming.add(tile.pos());
if(entity.cons.valid()){
entity.uptime = Mathf.lerpDelta(entity.uptime, 1f, 0.04f);
}else{