mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 13:07:06 +01:00
fixed explosions
This commit is contained in:
parent
61b79e8f98
commit
43ef3b3037
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue