fixed explosions

Dieser Commit ist enthalten in:
Tahg 2011-02-08 20:28:10 -05:00
Ursprung 61b79e8f98
Commit 43ef3b3037

Datei anzeigen

@ -136,6 +136,9 @@ public class Explosion {
server.getPluginManager().callEvent(event); server.getPluginManager().callEvent(event);
if (!event.isCancelled()) { if (!event.isCancelled()) {
entity.a(this.e, event.getDamage()); entity.a(this.e, event.getDamage());
entity.motX += d0 * d10;
entity.motY += d1 * d10;
entity.motZ += d2 * d10;
} }
} else { } else {
org.bukkit.entity.Entity damager = this.e.getBukkitEntity(); org.bukkit.entity.Entity damager = this.e.getBukkitEntity();