diff --git a/src/main/java/eu/decentsoftware/holograms/api/holograms/HologramPage.java b/src/main/java/eu/decentsoftware/holograms/api/holograms/HologramPage.java index 77a0ca52..effc407a 100644 --- a/src/main/java/eu/decentsoftware/holograms/api/holograms/HologramPage.java +++ b/src/main/java/eu/decentsoftware/holograms/api/holograms/HologramPage.java @@ -185,9 +185,6 @@ public void realignLines() { public boolean addLine(@NonNull HologramLine line) { lines.add(line); parent.getViewerPlayers(index).forEach(line::show); - if (line.hasOffsets() && !hasOffsets()) { - hasOffsets.set(true); - } realignLines(); return true; } @@ -202,9 +199,6 @@ public boolean addLine(@NonNull HologramLine line) { public boolean insertLine(int index, @NonNull HologramLine line) { lines.add(index, line); parent.getViewerPlayers(this.index).forEach(line::show); - if (line.hasOffsets() && !hasOffsets()) { - hasOffsets.set(true); - } realignLines(); return true; } @@ -250,7 +244,6 @@ public HologramLine removeLine(int index) { line.destroy(); realignLines(); } - updateHasOffsets(); return line; }