This commit is contained in:
Maxlego08 2024-05-14 10:31:45 +02:00
parent 0ddafea476
commit e366de43a1
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Unreleased # Unreleased
- Update HuskTown API - Update HuskTown API
- Fix scoreboard title with PlaceholderApi
# 3.0.7 # 3.0.7

View File

@ -74,7 +74,7 @@ public class ScoreBoardManager extends ZUtils {
}); });
} }
public void update(){ public void update() {
this.boards.forEach((player, board) -> { this.boards.forEach((player, board) -> {
board.updateLines(this.lines.accept(player)); board.updateLines(this.lines.accept(player));
}); });
@ -108,7 +108,7 @@ public class ScoreBoardManager extends ZUtils {
this.boards.remove(player); this.boards.remove(player);
FastBoard board = new FastBoard(player); FastBoard board = new FastBoard(player);
board.updateTitle(title); board.updateTitle(papi(title, player));
if (this.lines != null) { if (this.lines != null) {
board.updateLines(this.lines.accept(player)); board.updateLines(this.lines.accept(player));