From 5415891f11d70c33c5f6f7a0f8adeca047ff7197 Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 23 May 2016 16:15:00 -0700 Subject: [PATCH] Fix Container.compouteStackSize not respecting stack version of maxStackSize. Closes #2756 --- .../net/minecraft/inventory/Container.java.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/patches/minecraft/net/minecraft/inventory/Container.java.patch b/patches/minecraft/net/minecraft/inventory/Container.java.patch index 72217bbbf3..06224c3eb7 100644 --- a/patches/minecraft/net/minecraft/inventory/Container.java.patch +++ b/patches/minecraft/net/minecraft/inventory/Container.java.patch @@ -9,3 +9,12 @@ { slot1.func_75215_d(p_75135_1_.func_77946_l()); slot1.func_75218_e(); +@@ -728,7 +728,7 @@ + p_94525_2_.field_77994_a = 1; + break; + case 2: +- p_94525_2_.field_77994_a = p_94525_2_.func_77973_b().func_77639_j(); ++ p_94525_2_.field_77994_a = p_94525_2_.func_77976_d(); + } + + p_94525_2_.field_77994_a += p_94525_3_;