Skip to content

Commit d6ce637

Browse files
committed
ストリーク
1 parent 1687e3f commit d6ce637

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ public void increaseKills() {
244244
public void increaseStreaks() {
245245
this.streaks ++;
246246

247-
if (streaks % 5 == 0) TheJpsPit.getInstance().getGame().streakBroadcast(player.getName() + "&aが連続で&c" + streaks + "&aキルしています!" );
247+
if (streaks % 5 == 0) {
248+
TheJpsPit.getInstance().getCosmeticManager().onStreak(this);
249+
TheJpsPit.getInstance().getGame().streakBroadcast(player.getName() + "&aが連続で&c" + streaks + "&aキルしています!" );
250+
}
248251

249252
if (bestStreaks < streaks) {
250253
this.bestStreaks = streaks;

0 commit comments

Comments
 (0)