Compiles again.

This commit is contained in:
Sebastian Hartte
2020-07-27 23:50:28 +02:00
parent 56ecda5173
commit 84e6aaa122
136 changed files with 1004 additions and 1108 deletions
@@ -91,10 +91,8 @@ public class FluidTankWidget extends Widget implements ITooltip {
public ITextComponent getMessage() {
final IAEFluidStack fluid = this.tank.getFluidInSlot(this.slot);
if (fluid != null && fluid.getStackSize() > 0) {
String desc = fluid.getFluid().getAttributes().getDisplayName(fluid.getFluidStack()).getFormattedText();
String amountToText = fluid.getStackSize() + "mB";
return new StringTextComponent(desc + "\n" + amountToText);
return fluid.getFluid().getAttributes().getDisplayName(fluid.getFluidStack()).deepCopy()
.func_240702_b_("\n" + (fluid.getStackSize() + "mB"));
}
return new StringTextComponent("");
}