Update Fireballs to account for ExplosionPower. Fixes BUKKIT-3460

Adds BUKKIT-3516

By: feildmaster <admin@feildmaster.com>
This commit is contained in:
CraftBukkit/Spigot 2013-01-27 14:46:58 -06:00
parent 78e16bd8de
commit 552cff7d15

View File

@ -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;