summaryrefslogtreecommitdiffstats
path: root/src/main/java/net
diff options
context:
space:
mode:
authorTahg <tahgtahv@gmail.com>2011-02-08 20:28:10 -0500
committerTahg <tahgtahv@gmail.com>2011-02-08 20:28:10 -0500
commit43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c (patch)
treeb5bce1afb608cc27fce1629d4a565a5dee4afdb1 /src/main/java/net
parent61b79e8f981eac4a32a6ba022bc7378912c03762 (diff)
downloadcraftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar
craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar.gz
craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar.lz
craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.tar.xz
craftbukkit-43ef3b3037e0c84630c9e6c82c1b9f5772e0f33c.zip
fixed explosions
Diffstat (limited to 'src/main/java/net')
-rw-r--r--src/main/java/net/minecraft/server/Explosion.java3
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();