#1059: Add DamageCause.SONIC_BOOM
This commit is contained in:
parent
50ef122ef8
commit
4b60bfd18d
@ -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…
x
Reference in New Issue
Block a user