mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-23 00:28:02 +00:00
Cleanup
This commit is contained in:
1 parent
3864708cf1
commit
7d0555fb67
19 files changed
+65
-103
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user