mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Why is gradle's compiler so stupid? Can ANYONE tell me why gradle's compiler is so stupid!?
This commit is contained in:
parent
72615aac95
commit
3f9d26f4b4
1 changed files with 2 additions and 2 deletions
|
@ -75,8 +75,8 @@ public class DisplacementSpell extends AbstractSpell implements HomingSpell, Pro
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onImpact(MagicProjectileEntity projectile) {
|
public void onImpact(MagicProjectileEntity projectile) {
|
||||||
if (projectile.getMaster() instanceof Entity owner) {
|
if (projectile.getMaster() != null) {
|
||||||
owner.setGlowing(false);
|
projectile.getMaster().setGlowing(false);
|
||||||
}
|
}
|
||||||
target.ifPresent(projectile.asWorld(), e -> e.setGlowing(false));
|
target.ifPresent(projectile.asWorld(), e -> e.setGlowing(false));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue