Skip to content

Commit f916a06

Browse files
committed
連続キル数をスコアボートに追加
1 parent a637c3e commit f916a06

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/main/java/com/github/elic0de/thejpspit/player/PitPlayer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ public PitPlayer(Player player) {
4141
this.deaths = 0;
4242
this.rating = 0;
4343
this.xp = 0;
44+
this.board = new FastBoard(player);
45+
this.board.updateTitle(ChatColor.translateAlternateColorCodes('&', "&eTHE JPS PIT"));
4446
}
4547

4648
public PitPlayer(Player player, long kills, long deaths, double rating, double xp) {

src/main/java/com/github/elic0de/thejpspit/scoreboard/GameScoreboard.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public List<String> boardLines(PitPlayer player) {
2929
"K/Dレート: &c%rating%",
3030
"次のレベルまで:&a%neededXp%",
3131
"",
32+
"連続キル数:",
33+
"",
3234
"&ejapanpvpserver.net"
3335
).map(s ->
3436
s.replaceAll("%level%", Levels.getPlayerLevel(player) + "")

0 commit comments

Comments
 (0)