diff options
Diffstat (limited to 'src/main/kotlin/io')
-rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/util/PetLeveling.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/util/PetLeveling.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/util/PetLeveling.kt index e7d29642..0a9e37b9 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/util/PetLeveling.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/util/PetLeveling.kt @@ -105,7 +105,7 @@ object PetLeveling { } maxLevel = customLeveling["max_level"]?.asInt ?: maxLevel } - return ExpLadder(levels.drop(offset).take(maxLevel)) + return ExpLadder(levels.drop(offset).take(maxLevel - 1)) } } |