Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
strubium committed Feb 21, 2024
1 parent cea5610 commit 693496e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ public void addProbeInfo(ProbeMode mode, IProbeInfo probeInfo, EntityPlayer play

if (fill > 0) {
horizontalPane.item((fill == maxFill) ? WATER_BUCKET : WATTER_BOTTLE);
horizontalPane.text(TextStyleClass.LABEL + "" + fill + ((fill == 1) ? " {*theoneprobe.probe.bottle_indicator*}" : " {*theoneprobe.probe.bottles_indicator*}"));
horizontalPane.text(TextStyleClass.LABEL + ((fill == 1) ? " {*theoneprobe.probe.bottle_indicator*}" : " {*theoneprobe.probe.bottles_indicator*}"));
} else {
horizontalPane.item(BUCKET);
horizontalPane.text(TextStyleClass.LABEL + "{*topextras.top.empty*} ");
probeInfo.horizontal(probeInfo.defaultLayoutStyle().alignment(ElementAlignment.ALIGN_CENTER))
.item(BUCKET)
.text(TextStyleClass.LABEL + "{*theoneprobe.probe.empty_indicator*} ");
}
return;
}
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/assets/theoneprobe/lang/en_us.lang
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ theoneprobe.probe.get_contents=Getting the contents of a
theoneprobe.probe.harvestable_indicator=Harvestable
theoneprobe.probe.not_harvestable_indicator=Not Harvestable
theoneprobe.probe.notool_indicator=No Tool
theoneprobe.probe.empty_indicator=Empty
theoneprobe.probe.bottle_indicator=Bottle
theoneprobe.probe.bottles_indicator=Bottles
theoneprobe.probe.enchanting_power_indicator=Enchanting Power:
Expand Down

0 comments on commit 693496e

Please sign in to comment.