mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-23 13:37:58 +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
|
||||
public void onImpact(MagicProjectileEntity projectile) {
|
||||
if (projectile.getMaster() instanceof Entity owner) {
|
||||
owner.setGlowing(false);
|
||||
if (projectile.getMaster() != null) {
|
||||
projectile.getMaster().setGlowing(false);
|
||||
}
|
||||
target.ifPresent(projectile.asWorld(), e -> e.setGlowing(false));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue