From 22217fefcd47af703acde2140cf7711a217dd6a1 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 12 Jun 2021 08:09:40 +1000 Subject: [PATCH] SPIGOT-6517: Spider jockey crash on dripstone By: md_5 --- .../java/org/bukkit/craftbukkit/event/CraftEventFactory.java | 1 - 1 file changed, 1 deletion(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java index 881bce072e..f0c55b3ca9 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java @@ -876,7 +876,6 @@ public class CraftEventFactory { } else if (blockDamage != null) { DamageCause cause = null; Block damager = blockDamage; - blockDamage = null; if (source == DamageSource.CACTUS || source == DamageSource.SWEET_BERRY_BUSH || source == DamageSource.STALAGMITE) { cause = DamageCause.CONTACT; } else if (source == DamageSource.HOT_FLOOR) {