mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix j
This commit is contained in:
parent
abc07968e5
commit
49154759c0
@ -342,8 +342,10 @@ public class IrisEntity extends IrisRegistrant {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Chunks.hasPlayersNearby(at) && isSpawnEffectRiseOutOfGround() && e instanceof LivingEntity) {
|
Location finalAt1 = at;
|
||||||
Location start = at.clone();
|
J.s(() -> {
|
||||||
|
if (isSpawnEffectRiseOutOfGround() && e instanceof LivingEntity && Chunks.hasPlayersNearby(finalAt1)) {
|
||||||
|
Location start = finalAt1.clone();
|
||||||
e.setInvulnerable(true);
|
e.setInvulnerable(true);
|
||||||
((LivingEntity) e).setAI(false);
|
((LivingEntity) e).setAI(false);
|
||||||
((LivingEntity) e).setCollidable(false);
|
((LivingEntity) e).setCollidable(false);
|
||||||
@ -374,6 +376,7 @@ public class IrisEntity extends IrisRegistrant {
|
|||||||
}
|
}
|
||||||
}, 0));
|
}, 0));
|
||||||
}
|
}
|
||||||
|
});
|
||||||
|
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user