diff --git a/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/hologram/tracking/LocationBasedLineTracker.java b/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/hologram/tracking/LocationBasedLineTracker.java index 982efc45..b859f2c8 100644 --- a/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/hologram/tracking/LocationBasedLineTracker.java +++ b/plugin/src/main/java/me/filoghost/holographicdisplays/plugin/hologram/tracking/LocationBasedLineTracker.java @@ -91,14 +91,14 @@ abstract class LocationBasedLineTracker extends Line @Override protected final void onChunkLoad(Chunk chunk) { - if (this.chunkX == chunk.getX() && this.chunkZ == chunk.getZ()) { + if (this.world == chunk.getWorld() && this.chunkX == chunk.getX() && this.chunkZ == chunk.getZ()) { this.chunkLoaded = true; } } @Override protected final void onChunkUnload(Chunk chunk) { - if (this.chunkX == chunk.getX() && this.chunkZ == chunk.getZ()) { + if (this.world == chunk.getWorld() && this.chunkX == chunk.getX() && this.chunkZ == chunk.getZ()) { this.chunkLoaded = false; } }