mirror of
https://github.com/Auxilor/EcoQuests.git
synced 2025-12-22 08:29:18 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5814587ed5 | ||
|
|
f4682214cc | ||
|
|
3c0d5651d8 | ||
|
|
ed947b354f |
@@ -146,6 +146,11 @@ class Task(
|
||||
* Give experience directly
|
||||
*/
|
||||
fun giveExperience(player: Player, amount: Double) {
|
||||
|
||||
if (player.profile.read(hasCompletedKey)) {
|
||||
return
|
||||
}
|
||||
|
||||
val requiredXp = getExperienceRequired(player)
|
||||
val newXp = player.profile.read(xpKey) + amount
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#libreforge-updater
|
||||
#Sun Sep 22 17:00:59 BST 2024
|
||||
#Wed Nov 06 18:33:27 GMT 2024
|
||||
kotlin.code.style=official
|
||||
libreforge-version=4.72.0
|
||||
version=1.43.0
|
||||
libreforge-version=4.72.2
|
||||
version=1.43.2
|
||||
|
||||
Reference in New Issue
Block a user