From 3f52d8364cc297f315402988012f7d831fc982e4 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 2 Jun 2013 16:47:46 +1000 Subject: [PATCH] Fix skeleton event --- ...0047-Fix-EntityShootBowEvent-with-Skeletons.patch | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/CraftBukkit-Patches/0047-Fix-EntityShootBowEvent-with-Skeletons.patch b/CraftBukkit-Patches/0047-Fix-EntityShootBowEvent-with-Skeletons.patch index 19dc5c86e4..cbe49d203e 100644 --- a/CraftBukkit-Patches/0047-Fix-EntityShootBowEvent-with-Skeletons.patch +++ b/CraftBukkit-Patches/0047-Fix-EntityShootBowEvent-with-Skeletons.patch @@ -1,14 +1,14 @@ -From 2b96943c178999ef32038e0522da812980ea8cb2 Mon Sep 17 00:00:00 2001 +From a9ee7d740515b8adb22ee934aa473bd79145ae7e Mon Sep 17 00:00:00 2001 From: Nick Minkler Date: Sun, 2 Jun 2013 15:04:37 +1000 Subject: [PATCH] Fix EntityShootBowEvent with Skeletons diff --git a/src/main/java/net/minecraft/server/EntitySkeleton.java b/src/main/java/net/minecraft/server/EntitySkeleton.java -index 9494627..f9e0ced 100644 +index 9494627..dba2257 100644 --- a/src/main/java/net/minecraft/server/EntitySkeleton.java +++ b/src/main/java/net/minecraft/server/EntitySkeleton.java -@@ -245,6 +245,18 @@ public class EntitySkeleton extends EntityMonster implements IRangedEntity { +@@ -245,9 +245,21 @@ public class EntitySkeleton extends EntityMonster implements IRangedEntity { if (EnchantmentManager.getEnchantmentLevel(Enchantment.ARROW_FIRE.id, this.bG()) > 0 || this.getSkeletonType() == 1) { entityarrow.setOnFire(100); } @@ -26,7 +26,11 @@ index 9494627..f9e0ced 100644 + // Spigot end this.makeSound("random.bow", 1.0F, 1.0F / (this.aE().nextFloat() * 0.4F + 0.8F)); - this.world.addEntity(entityarrow); +- this.world.addEntity(entityarrow); ++ // this.world.addEntity(entityarrow); // Spigot - moved up + } + + public int getSkeletonType() { -- 1.8.1.2