geforkt von Mirrors/Paper
fixed explosions
Dieser Commit ist enthalten in:
Ursprung
61b79e8f98
Commit
43ef3b3037
@ -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();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren