From 5a12442f223f04b36ee78454419c7cb19e915aa7 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 22 Jul 2017 09:51:22 +1000 Subject: SPIGOT-3433: Improve AreaEffectCloud#getSource --- nms-patches/EntityPotion.patch | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'nms-patches/EntityPotion.patch') diff --git a/nms-patches/EntityPotion.patch b/nms-patches/EntityPotion.patch index f7ce8610..117e59dc 100644 --- a/nms-patches/EntityPotion.patch +++ b/nms-patches/EntityPotion.patch @@ -91,15 +91,7 @@ } } } -@@ -167,6 +199,7 @@ - private void a(ItemStack itemstack, PotionRegistry potionregistry) { - EntityAreaEffectCloud entityareaeffectcloud = new EntityAreaEffectCloud(this.world, this.locX, this.locY, this.locZ); - -+ entityareaeffectcloud.projectileSource = this.projectileSource; // CraftBukkit - entityareaeffectcloud.setSource(this.getShooter()); - entityareaeffectcloud.setRadius(3.0F); - entityareaeffectcloud.setRadiusOnUse(-0.5F); -@@ -187,7 +220,14 @@ +@@ -187,7 +219,14 @@ entityareaeffectcloud.setColor(nbttagcompound.getInt("CustomPotionColor")); } -- cgit v1.2.3