mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-01 01:46:39 +01:00
append, not add
This commit is contained in:
parent
6cfbf26f49
commit
2b00602446
2 changed files with 3 additions and 2 deletions
|
@ -61,9 +61,9 @@ public interface IHaveGoggleInformation {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
ITextComponent fluidName = new TranslationTextComponent(fluidStack.getTranslationKey()).formatted(TextFormatting.GRAY);
|
ITextComponent fluidName = new TranslationTextComponent(fluidStack.getTranslationKey()).formatted(TextFormatting.GRAY);
|
||||||
ITextComponent contained = new StringTextComponent(format(fluidStack.getAmount()) + mb).formatted(TextFormatting.GOLD);
|
ITextComponent contained = new StringTextComponent(format(fluidStack.getAmount())).append(mb).formatted(TextFormatting.GOLD);
|
||||||
ITextComponent slash = new StringTextComponent(" / ").formatted(TextFormatting.GRAY);
|
ITextComponent slash = new StringTextComponent(" / ").formatted(TextFormatting.GRAY);
|
||||||
ITextComponent capacity = new StringTextComponent(format(tank.getTankCapacity(i)) + mb).formatted(TextFormatting.DARK_GRAY);
|
ITextComponent capacity = new StringTextComponent(format(tank.getTankCapacity(i))).append(mb).formatted(TextFormatting.DARK_GRAY);
|
||||||
|
|
||||||
tooltip.add(indent.copy()
|
tooltip.add(indent.copy()
|
||||||
.append(fluidName));
|
.append(fluidName));
|
||||||
|
|
|
@ -115,6 +115,7 @@ public class RedstoneLinkTileEntity extends SmartTileEntity {
|
||||||
BlockPos attachedPos = pos.offset(attachedFace);
|
BlockPos attachedPos = pos.offset(attachedFace);
|
||||||
world.updateNeighbors(pos, world.getBlockState(pos).getBlock());
|
world.updateNeighbors(pos, world.getBlockState(pos).getBlock());
|
||||||
world.updateNeighbors(attachedPos, world.getBlockState(attachedPos).getBlock());
|
world.updateNeighbors(attachedPos, world.getBlockState(attachedPos).getBlock());
|
||||||
|
receivedSignalChanged = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue