Skip to content

Commit

Permalink
Merge branch 'master' into feature/refactor-recipemap
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master authored Dec 3, 2023
2 parents 29699e7 + 3b1b1af commit 9a97768
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void addCheckedInformation(final ItemStack stack, final EntityPlayer play

if (cellInventory != null) {
lines.add(
EnumChatFormatting.WHITE + String.valueOf(cellInventory.getUsedBytes())
EnumChatFormatting.WHITE + NumberFormat.getInstance().format(cellInventory.getUsedBytes())
+ EnumChatFormatting.GRAY
+ " "
+ GuiText.Of.getLocal()
Expand All @@ -112,7 +112,7 @@ public void addCheckedInformation(final ItemStack stack, final EntityPlayer play
+ EnumChatFormatting.GRAY
+ GuiText.BytesUsed.getLocal());
lines.add(
EnumChatFormatting.WHITE + String.valueOf(cellInventory.getStoredFluidTypes())
EnumChatFormatting.WHITE + NumberFormat.getInstance().format(cellInventory.getStoredFluidTypes())
+ EnumChatFormatting.GRAY
+ " "
+ GuiText.Of.getLocal()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.glodblock.github.common.item;

import java.text.NumberFormat;
import java.util.EnumSet;
import java.util.List;

Expand Down Expand Up @@ -82,7 +83,7 @@ public void addCheckedInformation(final ItemStack stack, final EntityPlayer play
final IFluidCellInventory cellInventory = handler.getCellInv();
if (cellInventory != null) {
lines.add(
EnumChatFormatting.WHITE + String.valueOf(cellInventory.getUsedBytes())
EnumChatFormatting.WHITE + NumberFormat.getInstance().format(cellInventory.getUsedBytes())
+ EnumChatFormatting.GRAY
+ " "
+ GuiText.Of.getLocal()
Expand All @@ -93,7 +94,7 @@ public void addCheckedInformation(final ItemStack stack, final EntityPlayer play
+ EnumChatFormatting.GRAY
+ GuiText.BytesUsed.getLocal());
lines.add(
EnumChatFormatting.WHITE + String.valueOf(cellInventory.getStoredFluidTypes())
EnumChatFormatting.WHITE + NumberFormat.getInstance().format(cellInventory.getStoredFluidTypes())
+ EnumChatFormatting.GRAY
+ " "
+ GuiText.Of.getLocal()
Expand Down

0 comments on commit 9a97768

Please sign in to comment.