[F] Fix jvm name clash

This commit is contained in:
Azalea
2024-04-02 02:07:39 -04:00
parent 02e2700e96
commit b41f3b9370
2 changed files with 8 additions and 8 deletions

View File

@@ -60,13 +60,13 @@ class WaccaUser : BaseEntity(), IUserData {
override var totalScore = 0L
fun lStatus() = ls(card?.extId,
userName, 1, xp, danLevel, danType, getWp(), ls(0, 0, 0), loginCount, loginCountDays,
(loginCount - 1).coerceAtLeast(0), loginCountDaysConsec, getVipExpire().sec, loginCountToday, this.playerRating
userName, 1, xp, danLevel, danType, moddedWp, ls(0, 0, 0), loginCount, loginCountDays,
(loginCount - 1).coerceAtLeast(0), loginCountDaysConsec, moddedVipExpire.sec, loginCountToday, this.playerRating
)
fun getVipExpire() =
val moddedVipExpire get() =
if (card?.aquaUser?.gameOptions?.waccaAlwaysVip == true) "2077-01-01".isoDate().toDate()
else vipExpireTime
fun getWp() = if (card?.aquaUser?.gameOptions?.waccaInfiniteWp == true) 999999 else wp
val moddedWp get() = if (card?.aquaUser?.gameOptions?.waccaInfiniteWp == true) 999999 else wp
}