Skip to content

Commit

Permalink
Fix fluid container info not showing fluid local name when playing on…
Browse files Browse the repository at this point in the history
… server.
  • Loading branch information
strubium committed Sep 11, 2024
1 parent e595752 commit de7f191
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ private void showTankInfo(IProbeInfo probeInfo, World world, BlockPos pos) {
private void addFluidInfo(IProbeInfo probeInfo, ProbeConfig config, FluidStack fluidStack, int maxContents) {
int contents = fluidStack == null ? 0 : fluidStack.amount;
if (fluidStack != null) {
probeInfo.text(NAME + "Liquid: " + fluidStack.getLocalizedName());
probeInfo.text(NAME + "Liquid: " + " {*" + fluidStack.getUnlocalizedName() +"*}"); //TOPFIX: Fluid container info doesn't show fluid local name when player on server.
}
if (config.getTankMode() == 1) {
probeInfo.progress(contents, maxContents,
Expand Down

0 comments on commit de7f191

Please sign in to comment.