mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-10 20:11:35 +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;
|
||||
|
||||
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 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()
|
||||
.append(fluidName));
|
||||
|
|
|
@ -115,6 +115,7 @@ public class RedstoneLinkTileEntity extends SmartTileEntity {
|
|||
BlockPos attachedPos = pos.offset(attachedFace);
|
||||
world.updateNeighbors(pos, world.getBlockState(pos).getBlock());
|
||||
world.updateNeighbors(attachedPos, world.getBlockState(attachedPos).getBlock());
|
||||
receivedSignalChanged = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue