Fix #1872
This commit is contained in:
parent
696fe65edd
commit
31962e9bf2
2 changed files with 7 additions and 2 deletions
|
@ -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())));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue