fix Crafting failure no feedback (#1393)

This commit is contained in:
lc-1337 authored and GitHub committed 2026-06-20 17:04:23 -04:00
1 parent 644316cedc
commit 02baf72da5
1 file changed
+2 -3
@@ -390,9 +390,8 @@ public class MECraftingInventory implements IMEInventory<IAEStack> {
String expectedCount = EnumChatFormatting.RED
+ NumberFormat.getNumberInstance(Locale.getDefault()).format(expected.getStackSize())
+ EnumChatFormatting.RESET;
String extractedCount = EnumChatFormatting.RED
+ NumberFormat.getNumberInstance(Locale.getDefault()).format(extracted.getStackSize())
+ EnumChatFormatting.RESET;
String extractedCount = EnumChatFormatting.RED + NumberFormat.getNumberInstance(Locale.getDefault())
.format(extracted == null ? 0 : extracted.getStackSize()) + EnumChatFormatting.RESET;
player.addChatMessage(
new ChatComponentTranslation(