diff options
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/EntityCreeper.patch | 8 | ||||
-rw-r--r-- | nms-patches/EntityPotion.patch | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/nms-patches/EntityCreeper.patch b/nms-patches/EntityCreeper.patch index b29ed0a4..5721057f 100644 --- a/nms-patches/EntityCreeper.patch +++ b/nms-patches/EntityCreeper.patch @@ -72,3 +72,11 @@ } } +@@ -202,6 +225,7 @@ + if (!collection.isEmpty()) { + EntityAreaEffectCloud entityareaeffectcloud = new EntityAreaEffectCloud(this.world, this.locX, this.locY, this.locZ); + ++ entityareaeffectcloud.setSource(this); // CraftBukkit + entityareaeffectcloud.setRadius(2.5F); + entityareaeffectcloud.setRadiusOnUse(-0.5F); + entityareaeffectcloud.setWaitTime(10); 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")); } |