Fix enchanting to match 1.8 behaviour

This commit is contained in:
Thinkofdeath 2014-11-28 22:39:33 +00:00
parent c5d0d74eae
commit b84c71e522

View File

@ -1,5 +1,5 @@
--- ../work/decompile-8eb82bde//net/minecraft/server/ContainerEnchantTable.java 2014-11-28 17:43:43.005707437 +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 17:38:21.000000000 +0000 +++ src/main/java/net/minecraft/server/ContainerEnchantTable.java 2014-11-28 22:38:24.125315018 +0000
@@ -3,15 +3,31 @@ @@ -3,15 +3,31 @@
import java.util.List; import java.util.List;
import java.util.Random; import java.util.Random;
@ -134,7 +134,7 @@
} }
} }
+ +
+ entityhuman.b(level); + entityhuman.b(j);
+ // CraftBukkit end + // CraftBukkit end
+ // CraftBukkit - TODO: let plugins change this + // CraftBukkit - TODO: let plugins change this