mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 12:11:47 +01:00
398f6983bd
Make "moved too quickly" limit configurable SpigotMC/Spigot@99a0a640e8 Undeprecate Player#updateInventory()V SpigotMC/Spigot@5c32e1cb48 Fetch complete profile for skull items, similarly to TileEntitySkull. SpigotMC/Spigot@33d758773e Move getDouble into the Spigot Configuration patch SpigotMC/Spigot@b5dd202af1 Add missing particle to particle API SpigotMC/Spigot@273c64bbad Log debug levels to the log file. SpigotMC/Spigot@348eae75f4 Fix PlayerItemDamageEvent (we already had this #badupstreamrelations) SpigotMC/Spigot@e207ea23cd Move hopper patch to top for PR180 SpigotMC/Spigot@abb775108d Don't be so spammy on Java 6 SpigotMC/Spigot@5abb82b1ca Apply NBTReadLimiter to more things SpigotMC/Spigot@408944e9f5
25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
From 27c15c1043d53ea191c58a52825b570a27b94b20 Mon Sep 17 00:00:00 2001
|
|
From: Thinkofdeath <thinkofdeath@spigotmc.org>
|
|
Date: Thu, 26 Jun 2014 14:29:11 +0100
|
|
Subject: [PATCH] Fix explosions not moving invulnerable entities
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/Explosion.java b/src/main/java/net/minecraft/server/Explosion.java
|
|
index 4502f68..d876a63 100644
|
|
--- a/src/main/java/net/minecraft/server/Explosion.java
|
|
+++ b/src/main/java/net/minecraft/server/Explosion.java
|
|
@@ -130,9 +130,9 @@ public class Explosion {
|
|
// CraftBukkit start
|
|
CraftEventFactory.entityDamage = source;
|
|
if (!entity.damageEntity(DamageSource.explosion(this), (float) ((int) ((d10 * d10 + d10) / 2.0D * 8.0D * (double) this.size + 1.0D)))) {
|
|
- CraftEventFactory.entityDamage = null;
|
|
- continue;
|
|
+
|
|
}
|
|
+ CraftEventFactory.entityDamage = null;
|
|
// CraftBukkit end
|
|
double d11 = EnchantmentProtection.a(entity, d10);
|
|
|
|
--
|
|
1.9.1
|
|
|