mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-27 02:31:43 +01:00
SPIGOT-6517: Spider jockey crash on dripstone
By: md_5 <git@md-5.net>
This commit is contained in:
parent
536256d6ff
commit
22217fefcd
@ -876,7 +876,6 @@ public class CraftEventFactory {
|
|||||||
} else if (blockDamage != null) {
|
} else if (blockDamage != null) {
|
||||||
DamageCause cause = null;
|
DamageCause cause = null;
|
||||||
Block damager = blockDamage;
|
Block damager = blockDamage;
|
||||||
blockDamage = null;
|
|
||||||
if (source == DamageSource.CACTUS || source == DamageSource.SWEET_BERRY_BUSH || source == DamageSource.STALAGMITE) {
|
if (source == DamageSource.CACTUS || source == DamageSource.SWEET_BERRY_BUSH || source == DamageSource.STALAGMITE) {
|
||||||
cause = DamageCause.CONTACT;
|
cause = DamageCause.CONTACT;
|
||||||
} else if (source == DamageSource.HOT_FLOOR) {
|
} else if (source == DamageSource.HOT_FLOOR) {
|
||||||
|
Loading…
Reference in New Issue
Block a user