Do UL the kotlin way
This commit is contained in:
1 parent
a15d386b05
commit
97dffe3dc5
5 files changed
+5
-5
No files matched your search
@@ -137,7 +137,7 @@ class HomesFive : Quest {
|
||||
}
|
||||
|
||||
override suspend fun consumeQuestItems(player: Player): Boolean {
|
||||
val requiredShards = (2500L * 9).toULong()
|
||||
val requiredShards = 2500UL * 9UL
|
||||
val withdrawResult =
|
||||
QuestsOG.diamondBankAPI.consumeFromPlayer(
|
||||
player.uniqueId,
|
||||
|
||||
@@ -106,7 +106,7 @@ class HomesFour : Quest {
|
||||
}
|
||||
|
||||
override suspend fun consumeQuestItems(player: Player): Boolean {
|
||||
val requiredShards = (1000L * 9).toULong()
|
||||
val requiredShards = 1000UL * 9UL
|
||||
val withdrawResult =
|
||||
QuestsOG.diamondBankAPI.consumeFromPlayer(
|
||||
player.uniqueId,
|
||||
|
||||
@@ -115,7 +115,7 @@ class HomesSix : Quest {
|
||||
}
|
||||
|
||||
override suspend fun consumeQuestItems(player: Player): Boolean {
|
||||
val requiredShards = (5000L * 9).toULong()
|
||||
val requiredShards = 5000UL * 9UL
|
||||
val withdrawResult =
|
||||
QuestsOG.diamondBankAPI.consumeFromPlayer(
|
||||
player.uniqueId,
|
||||
|
||||
@@ -84,7 +84,7 @@ class HomesThree : Quest {
|
||||
}
|
||||
|
||||
override suspend fun consumeQuestItems(player: Player): Boolean {
|
||||
val requiredShards = (250L * 9).toULong()
|
||||
val requiredShards = 250UL * 9UL
|
||||
val withdrawResult =
|
||||
QuestsOG.diamondBankAPI.consumeFromPlayer(
|
||||
player.uniqueId,
|
||||
|
||||
@@ -73,7 +73,7 @@ class HomesTwo : Quest {
|
||||
}
|
||||
|
||||
override suspend fun consumeQuestItems(player: Player): Boolean {
|
||||
val requiredShards = (100L * 9).toULong()
|
||||
val requiredShards = 100UL * 9UL
|
||||
val withdrawResult =
|
||||
QuestsOG.diamondBankAPI.consumeFromPlayer(
|
||||
player.uniqueId,
|
||||
|
||||
Reference in new issue
Block a user