diff options
author | Tahg <tahgtahv@gmail.com> | 2011-02-08 20:28:10 -0500 |
---|---|---|
committer | Tahg <tahgtahv@gmail.com> | 2011-02-08 20:28:10 -0500 |
commit | 43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c (patch) | |
tree | b5bce1afb608cc27fce1629d4a565a5dee4afdb1 /src/main | |
parent | 61b79e8f981eac4a32a6ba022bc7378912c03762 (diff) | |
download | craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar.gz craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar.lz craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar.xz craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.zip |
fixed explosions
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/net/minecraft/server/Explosion.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java index 7801c120..fc93f3a0 100644 --- a/src/main/java/net/minecraft/server/Explosion.java +++ b/src/main/java/net/minecraft/server/Explosion.java @@ -136,6 +136,9 @@ public class Explosion { server.getPluginManager().callEvent(event); if (!event.isCancelled()) { entity.a(this.e, event.getDamage()); + entity.motX += d0 * d10; + entity.motY += d1 * d10; + entity.motZ += d2 * d10; } } else { org.bukkit.entity.Entity damager = this.e.getBukkitEntity(); |