mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
Update CraftBukkit to Minecraft 1.4.6
This commit is contained in:
@@ -144,10 +144,11 @@ public class Explosion {
|
||||
if (!event.isCancelled()) {
|
||||
damagee.setLastDamageCause(event);
|
||||
entity.damageEntity(DamageSource.EXPLOSION, event.getDamage());
|
||||
double d11 = EnchantmentProtection.a(entity, d10);
|
||||
|
||||
entity.motX += d0 * d10;
|
||||
entity.motY += d1 * d10;
|
||||
entity.motZ += d2 * d10;
|
||||
entity.motX += d0 * d11;
|
||||
entity.motY += d1 * d11;
|
||||
entity.motZ += d2 * d11;
|
||||
if (entity instanceof EntityHuman) {
|
||||
this.l.put((EntityHuman) entity, this.world.getVec3DPool().create(d0 * d10, d1 * d10, d2 * d10));
|
||||
}
|
||||
|
Reference in New Issue
Block a user