mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-31 22:30:15 +00:00
#1059: Add DamageCause.SONIC_BOOM
This commit is contained in:
parent
50ef122ef8
commit
4b60bfd18d
1 changed files with 2 additions and 0 deletions
|
@ -885,6 +885,8 @@ public class CraftEventFactory {
|
|||
}
|
||||
} else if ("thorns".equals(source.msgId)) {
|
||||
cause = DamageCause.THORNS;
|
||||
} else if ("sonic_boom".equals(source.msgId)) {
|
||||
cause = DamageCause.SONIC_BOOM;
|
||||
}
|
||||
|
||||
return callEntityDamageEvent(damager, entity, cause, modifiers, modifierFunctions, cancelled);
|
||||
|
|
Loading…
Add table
Reference in a new issue