mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-25 10:27:55 +01:00
fixed explosions
This commit is contained in:
parent
61b79e8f98
commit
43ef3b3037
@ -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 New Issue
Block a user