summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2014-04-23 16:21:26 -0500
committerTravis Watkins <amaranth@ubuntu.com>2014-04-23 20:48:37 -0500
commitde97b62b8945ec7a05c7b6813a6317606f46faaf (patch)
tree90c7fd327516b8734db40b7969afb227858af6a6 /src
parent5dfb74032c97e34ab9fb405cd886266663342e45 (diff)
downloadcraftbukkit-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')
-rw-r--r--src/main/java/net/minecraft/server/ContainerAnvilInventory.java1
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