mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
fixed staff of baldur being bad at lighting entities on fire
closes #293
This commit is contained in:
parent
dd46d4ab95
commit
32629006c7
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class EntityLightProjectile extends ThrowableProjectile {
|
|||
if (state.getMaterial().isReplaceable())
|
||||
this.level.setBlockAndUpdate(pos, ModBlocks.LIGHT.defaultBlockState());
|
||||
} else if (result instanceof EntityHitResult entity) {
|
||||
entity.getEntity().setRemainingFireTicks(5);
|
||||
entity.getEntity().setSecondsOnFire(5);
|
||||
}
|
||||
}
|
||||
this.discard();
|
||||
|
|
Loading…
Reference in a new issue