This commit is contained in:
modmuss50 2019-10-28 15:53:39 +00:00
parent 696fe65edd
commit 31962e9bf2
2 changed files with 7 additions and 2 deletions

View file

@ -150,6 +150,9 @@ public class SolarPanelBlockEntity extends PowerAcceptorBlockEntity implements I
@Override
public void addInfo(List<Text> info, boolean isReal, boolean hasData) {
if (panel == SolarPanels.CREATIVE) {
return;
}
info.add(new LiteralText(Formatting.GRAY + StringUtils.t("reborncore.tooltip.energy.maxEnergy") + ": "
+ Formatting.GOLD + PowerSystem.getLocaliszedPowerFormatted(getMaxPower())));