mirror of
https://github.com/Maxlego08/zKoth.git
synced 2024-11-25 12:25:14 +01:00
📝 Fix
This commit is contained in:
parent
0ddafea476
commit
e366de43a1
@ -1,6 +1,7 @@
|
|||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
- Update HuskTown API
|
- Update HuskTown API
|
||||||
|
- Fix scoreboard title with PlaceholderApi
|
||||||
|
|
||||||
# 3.0.7
|
# 3.0.7
|
||||||
|
|
||||||
|
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user