From 1b91579091e91b46918c2b18f0e8d46d56883d5e Mon Sep 17 00:00:00 2001 From: David Date: Wed, 23 Apr 2014 02:04:25 +0100 Subject: [PATCH] Remove a line that would otherwise just be reiterating a set int --- ...op-anvils-from-destroying-all-items-in-the-second-.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CraftBukkit-Patches/0142-Stop-anvils-from-destroying-all-items-in-the-second-.patch b/CraftBukkit-Patches/0142-Stop-anvils-from-destroying-all-items-in-the-second-.patch index 119f2b2e2e..4557e4915e 100644 --- a/CraftBukkit-Patches/0142-Stop-anvils-from-destroying-all-items-in-the-second-.patch +++ b/CraftBukkit-Patches/0142-Stop-anvils-from-destroying-all-items-in-the-second-.patch @@ -1,4 +1,4 @@ -From 28f51890f8c0ec3ec02a6f836e8825ca67374259 Mon Sep 17 00:00:00 2001 +From 7ae6acfc6b64a79f58ff5fda931a7a8762116173 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 23 Apr 2014 01:01:47 +0100 Subject: [PATCH] Stop anvils from destroying all items in the second slot @@ -6,7 +6,7 @@ Subject: [PATCH] Stop anvils from destroying all items in the second slot While this may allow multiple stacked items to be repaired at once, it's better than eating all of a user's items. diff --git a/src/main/java/net/minecraft/server/ContainerAnvilInventory.java b/src/main/java/net/minecraft/server/ContainerAnvilInventory.java -index 1afa6e7..6d339e5 100644 +index 1afa6e7..d975b44 100644 --- a/src/main/java/net/minecraft/server/ContainerAnvilInventory.java +++ b/src/main/java/net/minecraft/server/ContainerAnvilInventory.java @@ -43,7 +43,7 @@ public class ContainerAnvilInventory extends InventorySubcontainer { // CraftBuk @@ -14,7 +14,7 @@ index 1afa6e7..6d339e5 100644 super(s, flag, i); this.a = containeranvil; - this.setMaxStackSize(1); // CraftBukkit -+ this.setMaxStackSize(64); // CraftBukkit ++ // Spigot - Removed this.setMaxStackSize(1); // CraftBukkit } // CraftBukkit start - override inherited maxStack from InventorySubcontainer