Add closing brackets to fusion reactor state text
This commit is contained in:
parent
8d4c1b9a06
commit
f8c224ecf5
1 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,8 @@ public class FusionControlComputerBlockEntity extends GenericMachineBlockEntity
|
||||||
}
|
}
|
||||||
int percentage = percentage(r.getStartEnergy(), getEnergy());
|
int percentage = percentage(r.getStartEnergy(), getEnergy());
|
||||||
return new LiteralText("Charging (")
|
return new LiteralText("Charging (")
|
||||||
.append(StringUtils.getPercentageText(percentage));
|
.append(StringUtils.getPercentageText(percentage))
|
||||||
|
.append(")");
|
||||||
} else if (state == 2) {
|
} else if (state == 2) {
|
||||||
return new LiteralText("Crafting");
|
return new LiteralText("Crafting");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue