summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2013-01-27 14:46:58 -0600
committerfeildmaster <admin@feildmaster.com>2013-01-27 16:43:30 -0600
commit1053a1e29d2aea2045172b2b87ec6631d34f6bc1 (patch)
tree94f7025be6d15a7d529e0ada9f1134e8797210da /src/main/java/org
parentf20d6e3595a5b75ca04fd7a70a7a8f1d87bc9203 (diff)
downloadcraftbukkit-1053a1e29d2aea2045172b2b87ec6631d34f6bc1.tar
craftbukkit-1053a1e29d2aea2045172b2b87ec6631d34f6bc1.tar.gz
craftbukkit-1053a1e29d2aea2045172b2b87ec6631d34f6bc1.tar.lz
craftbukkit-1053a1e29d2aea2045172b2b87ec6631d34f6bc1.tar.xz
craftbukkit-1053a1e29d2aea2045172b2b87ec6631d34f6bc1.zip
Update Fireballs to account for ExplosionPower. Fixes BUKKIT-3460
Adds BUKKIT-3516
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java
index 1ee4da21..f75e74de 100644
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLargeFireball.java
@@ -11,6 +11,12 @@ public class CraftLargeFireball extends CraftFireball implements LargeFireball {
}
@Override
+ public void setYield(float yield) {
+ super.setYield(yield);
+ getHandle().e = (int) yield;
+ }
+
+ @Override
public EntityLargeFireball getHandle() {
return (EntityLargeFireball) entity;
}