move to silk fluids

This commit is contained in:
modmuss50 2019-07-23 21:30:57 +01:00
parent 85554bcfe2
commit 9b46e3237e
18 changed files with 52 additions and 50 deletions

View file

@ -134,7 +134,7 @@ public class QuantumTankBlockEntity extends MachineBaseBlockEntity
public void addInfo(final List<Text> info, final boolean isReal, boolean hasData) {
if (isReal | hasData) {
if (this.tank.getFluid() != null) {
info.add(new LiteralText(this.tank.getFluidAmount() + " of " + this.tank.getFluidType().getName()));
info.add(new LiteralText(this.tank.getFluidAmount() + " of " + this.tank.getFluidType()));
} else {
info.add(new LiteralText("Empty"));
}