Archiviert
13
0

Fix for shaped recipes stripping enchantments from the result. Fixes BUKKIT-602

Dieser Commit ist enthalten in:
Celtic Minstrel 2012-02-25 16:08:49 -05:00 committet von EvilSeph
Ursprung 2887f99fe5
Commit d6c6b18ba9

Datei anzeigen

@ -135,7 +135,7 @@ public class ShapedRecipes implements CraftingRecipe {
}
public ItemStack b(InventoryCrafting inventorycrafting) {
return new ItemStack(this.e.id, this.e.count, this.e.getData());
return new ItemStack(this.e.id, this.e.count, this.e.getData(), this.e.getEnchantments()); // CraftBukkit - copy enchantments
}
public int a() {