Skip to content

Commit

Permalink
Don't update Scoreboard, Tablist and Actionbar on initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Almighty-Satan committed Jan 1, 2025
1 parent 25117f6 commit 0ab2e61
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ protected String processString(String input) {
return AnimatedActionbar.this.processString(input);
}
};
this.update();
this.task = Bukkit.getScheduler().scheduleSyncRepeatingTask(javaPlugin, this::update, 0, 0);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ protected String processString(String input) {
return AnimatedScoreboard.this.processString(input);
}
};
this.update();
this.task = Bukkit.getScheduler().scheduleSyncRepeatingTask(javaPlugin, this::update, 0, 0);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ protected String processString(String input) {
return AnimatedTablist.this.processString(input);
}
};
this.update();
this.task = Bukkit.getScheduler().scheduleSyncRepeatingTask(javaPlugin, this::update, 0, 0);
}

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/de/varoplugin/cfw/player/hud/StaticTablist.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ public StaticTablist(Player player) {
this.footerEnabled = false;
this.headerBuffer = "";
this.footerBuffer = "";

this.update(null, null);
}

/**
Expand Down

0 comments on commit 0ab2e61

Please sign in to comment.