mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 03:25:15 +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