This commit is contained in:
cyberpwn
2021-09-11 13:18:58 -04:00
parent 3864708cf1
commit 7d0555fb67
19 changed files with 65 additions and 103 deletions

View File

@@ -188,8 +188,7 @@ public class IrisEntity extends IrisRegistrant {
AtomicReference<Location> f = new AtomicReference<>(at);
try {
J.sfut(() -> {
if(Chunks.hasPlayersNearby(f.get()))
{
if (Chunks.hasPlayersNearby(f.get())) {
Location b = f.get().clone();
Location start = new Location(b.getWorld(), b.getX(), b.getY() - 5, b.getZ());
f.set(start);

View File

@@ -56,6 +56,7 @@ public class IrisFeaturePositional {
private IrisFeature feature;
private transient AtomicCache<NoiseProvider> provider = new AtomicCache<>();
public IrisFeaturePositional(int x, int z, IrisFeature feature) {
this.x = x;
this.z = z;