mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-27 15:17:59 +01:00
Fixed the death message when being killed by a kirin raging
This commit is contained in:
parent
c30ef7e9c1
commit
afe44d0ca1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue