Skip to content

Commit

Permalink
Reload holograms with line height change
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed Nov 22, 2020
1 parent 810441c commit 4491e95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main/src/main/java/net/citizensnpcs/trait/HologramTrait.java
Expand Up @@ -190,6 +190,8 @@ public void setLine(int idx, String text) {

public void setLineHeight(double height) {
lineHeight = height;
unload();
load();
}

private void unload() {
Expand Down

0 comments on commit 4491e95

Please sign in to comment.