mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +01:00
parent
5913ce98b9
commit
d345226478
@ -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…
Reference in New Issue
Block a user