diff options
Diffstat (limited to 'patches/server/0398-Prevent-headless-pistons-from-being-created.patch')
-rw-r--r-- | patches/server/0398-Prevent-headless-pistons-from-being-created.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0398-Prevent-headless-pistons-from-being-created.patch b/patches/server/0398-Prevent-headless-pistons-from-being-created.patch index 58b77cb5be..9b5071ea2f 100644 --- a/patches/server/0398-Prevent-headless-pistons-from-being-created.patch +++ b/patches/server/0398-Prevent-headless-pistons-from-being-created.patch @@ -6,10 +6,10 @@ Subject: [PATCH] Prevent headless pistons from being created Prevent headless pistons from being created by explosions or tree/mushroom growth. diff --git a/src/main/java/net/minecraft/world/level/Explosion.java b/src/main/java/net/minecraft/world/level/Explosion.java -index 8bbc5025f202be784db78401154038f1f70f0163..6a1e2614453bc3d6fe082c1fd43228c4a182442e 100644 +index d4fe425954d36f0baddb256e3c83009a84084b72..edcc9d53ad81e2b2444335ac79abde5a4e2d9d47 100644 --- a/src/main/java/net/minecraft/world/level/Explosion.java +++ b/src/main/java/net/minecraft/world/level/Explosion.java -@@ -207,6 +207,15 @@ public class Explosion { +@@ -208,6 +208,15 @@ public class Explosion { if (f > 0.0F && this.damageCalculator.shouldBlockExplode(this, this.level, blockposition, iblockdata, f)) { set.add(blockposition); |