Skip to content

Commit

Permalink
not much 2
Browse files Browse the repository at this point in the history
  • Loading branch information
d0by1 committed Dec 2, 2021
1 parent 1dfba5c commit 5ad6dd6
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down Expand Up @@ -250,7 +244,6 @@ public HologramLine removeLine(int index) {
line.destroy();
realignLines();
}
updateHasOffsets();
return line;
}

Expand Down

0 comments on commit 5ad6dd6

Please sign in to comment.