summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySheep.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntitySheep.patch')
-rw-r--r--nms-patches/EntitySheep.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/EntitySheep.patch b/nms-patches/EntitySheep.patch
index 5df9a4f1..0bdde89d 100644
--- a/nms-patches/EntitySheep.patch
+++ b/nms-patches/EntitySheep.patch
@@ -71,6 +71,6 @@
this.container.setItem(0, new ItemStack(ItemDye.a(enumcolor)));
this.container.setItem(1, new ItemStack(ItemDye.a(enumcolor1)));
+ this.container.resultInventory = new InventoryCraftResult(); // CraftBukkit - add result slot for event
- ItemStack itemstack = entityanimal.world.E().craft(this.container, ((EntitySheep) entityanimal).world);
+ ItemStack itemstack = entityanimal.world.getCraftingManager().craft(this.container, ((EntitySheep) entityanimal).world);
Item item = itemstack.getItem();
EnumColor enumcolor2;