Fixed the death message when being killed by a kirin raging

This commit is contained in:
Sollace 2024-02-06 15:58:22 +00:00
parent c30ef7e9c1
commit afe44d0ca1
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -69,7 +69,7 @@ public class RageAbilitySpell extends AbstractSpell {
if (!source.isClient()) {
if (age == 0) {
source.asWorld().createExplosion(source.asEntity(), source.damageOf(DamageTypes.FIREBALL), new ExplosionBehavior(){
source.asWorld().createExplosion(source.asEntity(), source.asWorld().getDamageSources().create(DamageTypes.FIREBALL, source.asEntity()), new ExplosionBehavior(){
@Override
public boolean canDestroyBlock(Explosion explosion, BlockView world, BlockPos pos, BlockState state, float power) {
return false;