mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-11-14 22:44:07 +01:00
append, not add
This commit is contained in:
parent
6cfbf26f49
commit
2b00602446
@ -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 New Issue
Block a user