Skip to content

Commit

Permalink
Merge pull request #1493 from GiganticMinecraft/develop
Browse files Browse the repository at this point in the history
バージョン 39 リリース
  • Loading branch information
KisaragiEffective authored May 2, 2022
2 parents ecde20d + 430b1e1 commit c7c20ab
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.1"
// ThisBuild / version はGitHub Actionsによって取得/自動更新される。
// 次の行は ThisBuild / version := "(\d*)" の形式でなければならない。
ThisBuild / version := "38"
ThisBuild / version := "39"
ThisBuild / organization := "click.seichi"
ThisBuild / description := "ギガンティック☆整地鯖の独自要素を司るプラグイン"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class PlayerDataManipulator(private val gateway: DatabaseGateway) {
val LastLong = LastDate.getTime

val dateDiff = (TodayLong - LastLong) / (1000 * 60 * 60 * 24)
val shouldIncrementChainVote = dateDiff <= 2L
val shouldIncrementChainVote = dateDiff <= 5L

val newCount = if (shouldIncrementChainVote) {
sql"""select chainvote from playerdata where name = $name"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ object PlayerDataLoading {
if (dateDiff >= 1L) {
val newTotalLoginDay = playerData.loginStatus.totalLoginDay + 1
val newConsecutiveLoginDays =
if (dateDiff <= 2L)
if (dateDiff <= 5L)
playerData.loginStatus.consecutiveLoginDays + 1
else
1
Expand Down

0 comments on commit c7c20ab

Please sign in to comment.