1.20.6 (#10623)
This commit is contained in:
parent
3778302a37
commit
723528c18b
28 changed files with 132 additions and 417 deletions
|
@ -201,4 +201,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ final Entity damager = source.getCustomEventDamager(); // Paper - fix DamageSource API
|
||||
if (source.is(DamageTypeTags.IS_EXPLOSION)) {
|
||||
if (damager == null) {
|
||||
return CraftEventFactory.callEntityDamageEvent(source.getDirectBlock(), entity, DamageCause.BLOCK_EXPLOSION, bukkitDamageSource, modifiers, modifierFunctions, cancelled, source.explodedBlockState); // Paper - Include BlockState for damage
|
||||
return CraftEventFactory.callEntityDamageEvent(source.getDirectBlock(), entity, DamageCause.BLOCK_EXPLOSION, bukkitDamageSource, modifiers, modifierFunctions, cancelled, source.blockState); // Paper - Include BlockState for damage
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue