Also check world

This commit is contained in:
filoghost 2018-08-25 13:17:34 +02:00
parent 52172d8dd2
commit 966e0d1d05

View File

@ -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