Skip to content

Commit

Permalink
Merge pull request #1975 from GiganticMinecraft/develop
Browse files Browse the repository at this point in the history
バージョン 78 リリース
  • Loading branch information
KisaragiEffective authored May 10, 2023
2 parents 02bbd8a + dbfb889 commit d344029
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import java.io._
ThisBuild / scalaVersion := "2.13.4"
// ThisBuild / version はGitHub Actionsによって取得/自動更新される。
// 次の行は ThisBuild / version := "(\d*)" の形式でなければならない。
ThisBuild / version := "77"
ThisBuild / version := "78"
ThisBuild / organization := "click.seichi"
ThisBuild / description := "ギガンティック☆整地鯖の独自要素を司るプラグイン"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import java.util.UUID
class JdbcVotePersistence[F[_]: Sync] extends VotePersistence[F] {

// NOTE: 連続投票日数許容幅を変更する場合はここを変更してください。
private val consecutiveVoteStreakDaysThreshold = 1
private val consecutiveVoteStreakDaysThreshold = 28

override def createPlayerData(uuid: UUID): F[Unit] = Sync[F].delay {
DB.localTx { implicit session =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ object PlayerDataLoading {
if (dateDiff >= 1L) {
val newTotalLoginDay = playerData.loginStatus.totalLoginDay + 1
val newConsecutiveLoginDays =
if (dateDiff <= 2L)
if (dateDiff <= 28L)
playerData.loginStatus.consecutiveLoginDays + 1
else
1
Expand Down

0 comments on commit d344029

Please sign in to comment.