summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2014-11-28 22:39:33 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2014-11-28 22:39:33 +0000
commitb84c71e522dc005ba0c3fb9fb1fed7d27214262c (patch)
tree54bf961472f3630db27db299d721e60684ed01f9 /nms-patches
parentc5d0d74eaeb376689713dfacbf25b976ceb6259f (diff)
downloadcraftbukkit-b84c71e522dc005ba0c3fb9fb1fed7d27214262c.tar
craftbukkit-b84c71e522dc005ba0c3fb9fb1fed7d27214262c.tar.gz
craftbukkit-b84c71e522dc005ba0c3fb9fb1fed7d27214262c.tar.lz
craftbukkit-b84c71e522dc005ba0c3fb9fb1fed7d27214262c.tar.xz
craftbukkit-b84c71e522dc005ba0c3fb9fb1fed7d27214262c.zip
Fix enchanting to match 1.8 behaviour
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/ContainerEnchantTable.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/ContainerEnchantTable.patch b/nms-patches/ContainerEnchantTable.patch
index 224146c7..89df8424 100644
--- a/nms-patches/ContainerEnchantTable.patch
+++ b/nms-patches/ContainerEnchantTable.patch
@@ -1,5 +1,5 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/ContainerEnchantTable.java 2014-11-28 17:43:43.005707437 +0000
-+++ src/main/java/net/minecraft/server/ContainerEnchantTable.java 2014-11-28 17:38:21.000000000 +0000
+--- ../work/decompile-8eb82bde//net/minecraft/server/ContainerEnchantTable.java 2014-11-28 22:39:23.881313691 +0000
++++ src/main/java/net/minecraft/server/ContainerEnchantTable.java 2014-11-28 22:38:24.125315018 +0000
@@ -3,15 +3,31 @@
import java.util.List;
import java.util.Random;
@@ -134,7 +134,7 @@
}
}
+
-+ entityhuman.b(level);
++ entityhuman.b(j);
+ // CraftBukkit end
+ // CraftBukkit - TODO: let plugins change this