Bugfixes
This commit is contained in:
@@ -30,6 +30,8 @@ public class LiquidBridge extends ItemBridge{
|
|||||||
if(!linkValid(tile, other)){
|
if(!linkValid(tile, other)){
|
||||||
tryDumpLiquid(tile, entity.liquids.current());
|
tryDumpLiquid(tile, entity.liquids.current());
|
||||||
}else{
|
}else{
|
||||||
|
((ItemBridgeEntity)world.tile(entity.link).entity).incoming.add(tile.pos());
|
||||||
|
|
||||||
if(entity.cons.valid()){
|
if(entity.cons.valid()){
|
||||||
float alpha = 0.04f;
|
float alpha = 0.04f;
|
||||||
if(hasPower){
|
if(hasPower){
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ public class LiquidExtendingBridge extends ExtendingItemBridge{
|
|||||||
if(!linkValid(tile, other)){
|
if(!linkValid(tile, other)){
|
||||||
tryDumpLiquid(tile, entity.liquids.current());
|
tryDumpLiquid(tile, entity.liquids.current());
|
||||||
}else{
|
}else{
|
||||||
|
((ItemBridgeEntity)world.tile(entity.link).entity).incoming.add(tile.pos());
|
||||||
|
|
||||||
if(entity.cons.valid()){
|
if(entity.cons.valid()){
|
||||||
entity.uptime = Mathf.lerpDelta(entity.uptime, 1f, 0.04f);
|
entity.uptime = Mathf.lerpDelta(entity.uptime, 1f, 0.04f);
|
||||||
}else{
|
}else{
|
||||||
|
|||||||
Reference in New Issue
Block a user