fix: fixed navigator
This commit is contained in:
parent
4668616e48
commit
b1a39ee646
@ -21,8 +21,8 @@ public class NavigatorContext extends PlayerContext implements Navigator {
|
||||
private final static Component EMPTY = Component.text(" ");
|
||||
|
||||
private BossBar bossBar;
|
||||
private Point target;
|
||||
private String text;
|
||||
private volatile Point target;
|
||||
private volatile String text;
|
||||
private MinecraftFont.Text cachedText;
|
||||
private boolean prevTargetEmpty = true;
|
||||
private boolean enabled = true;
|
||||
@ -71,6 +71,7 @@ public class NavigatorContext extends PlayerContext implements Navigator {
|
||||
prevTargetEmpty = this.target == null;
|
||||
this.target = target;
|
||||
this.text = text;
|
||||
cachedText = null;
|
||||
|
||||
update();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user