mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-21 00:07:48 +01:00
Also check world
This commit is contained in:
parent
52172d8dd2
commit
966e0d1d05
@ -50,7 +50,7 @@ public class CraftHologram implements Hologram, com.gmail.filoghost.holograms.ap
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isInChunk(Chunk chunk) {
|
public boolean isInChunk(Chunk chunk) {
|
||||||
return chunk.getX() == chunkX && chunk.getZ() == chunkZ;
|
return chunk.getWorld() == world && chunk.getX() == chunkX && chunk.getZ() == chunkZ;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user