From 59571a179a4e0811acfee9e794576802b6a72e36 Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Fri, 15 Jul 2016 19:02:56 -0700 Subject: [PATCH 1/2] Update MCItemStack toString to include quantity --- .../src/main/java/minetweaker/mc1710/item/MCItemStack.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java b/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java index ed617607..6a0f8f64 100644 --- a/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java +++ b/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java @@ -391,6 +391,11 @@ public String toString() { result.append(NBTConverter.from(stack.getTagCompound(), wildcardSize).toString()); result.append(")"); } + + if (stack.stackSize > 1) { + result.append(" * "); + result.append(stack.StackSize); + } return result.toString(); } From fe1afc2f8c3a7739a55f0cdf1845a6a81699db51 Mon Sep 17 00:00:00 2001 From: Andrew Miner Date: Fri, 15 Jul 2016 19:03:27 -0700 Subject: [PATCH 2/2] Update MCItemStack.java --- .../src/main/java/minetweaker/mc1710/item/MCItemStack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java b/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java index 6a0f8f64..b7c9c015 100644 --- a/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java +++ b/MineTweaker3-MC1710-Main/src/main/java/minetweaker/mc1710/item/MCItemStack.java @@ -394,7 +394,7 @@ public String toString() { if (stack.stackSize > 1) { result.append(" * "); - result.append(stack.StackSize); + result.append(stack.stackSize); } return result.toString();