3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 20:40:07 +01:00

Fix enchanting to match 1.8 behaviour

Dieser Commit ist enthalten in:
Thinkofdeath 2014-11-28 22:39:33 +00:00
Ursprung c5d0d74eae
Commit b84c71e522

Datei anzeigen

@ -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