From 552cff7d15fecf7dfea932586bfa8c6b3979f53a Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 27 Jan 2013 14:46:58 -0600 Subject: [PATCH] Update Fireballs to account for ExplosionPower. Fixes BUKKIT-3460 Adds BUKKIT-3516 By: feildmaster --- .../org/bukkit/craftbukkit/entity/CraftLargeFireball.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java index 1ee4da21ba..f75e74deca 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java @@ -10,6 +10,12 @@ public class CraftLargeFireball extends CraftFireball implements LargeFireball { super(server, entity); } + @Override + public void setYield(float yield) { + super.setYield(yield); + getHandle().e = (int) yield; + } + @Override public EntityLargeFireball getHandle() { return (EntityLargeFireball) entity;