diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2014-04-23 16:21:26 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-04-23 20:48:37 -0500 |
commit | de97b62b8945ec7a05c7b6813a6317606f46faaf (patch) | |
tree | 90c7fd327516b8734db40b7969afb227858af6a6 /src/main | |
parent | 5dfb74032c97e34ab9fb405cd886266663342e45 (diff) | |
download | craftbukkit-de97b62b8945ec7a05c7b6813a6317606f46faaf.tar craftbukkit-de97b62b8945ec7a05c7b6813a6317606f46faaf.tar.gz craftbukkit-de97b62b8945ec7a05c7b6813a6317606f46faaf.tar.lz craftbukkit-de97b62b8945ec7a05c7b6813a6317606f46faaf.tar.xz craftbukkit-de97b62b8945ec7a05c7b6813a6317606f46faaf.zip |
Don't limit anvil stack size.
After the changes in c549609d anvils started incorrectly limiting their
inputs to single item stacks. Vanilla allows for full size stacks here and
this is useful for using materials to repair items so now we do too.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/ContainerAnvilInventory.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/ContainerAnvilInventory.java b/src/main/java/net/minecraft/server/ContainerAnvilInventory.java index 1afa6e79..6cc0d924 100644 --- a/src/main/java/net/minecraft/server/ContainerAnvilInventory.java +++ b/src/main/java/net/minecraft/server/ContainerAnvilInventory.java @@ -43,7 +43,6 @@ public class ContainerAnvilInventory extends InventorySubcontainer { // CraftBuk ContainerAnvilInventory(ContainerAnvil containeranvil, String s, boolean flag, int i) { super(s, flag, i); this.a = containeranvil; - this.setMaxStackSize(1); // CraftBukkit } // CraftBukkit start - override inherited maxStack from InventorySubcontainer |