diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/ContainerAnvil.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ContainerAnvil.java b/src/main/java/net/minecraft/server/ContainerAnvil.java index febfa1df..328db44c 100644 --- a/src/main/java/net/minecraft/server/ContainerAnvil.java +++ b/src/main/java/net/minecraft/server/ContainerAnvil.java @@ -196,6 +196,10 @@ public class ContainerAnvil extends Container { i3 = 1; } + if (flag) { + i3 = Math.max(1, i3 / 2); + } + i += i3 * k2; } } |