Update Cosmos API to 1.21.8, configure Altitude Nexus repository, and adjust ProgressBookOpener for incomplete quests
This commit is contained in:
parent
3bce3f9ab3
commit
db8c35150e
|
|
@ -25,7 +25,7 @@ tasks {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") {
|
compileOnly("com.alttd.cosmos:cosmos-api:1.21.8-R0.1-SNAPSHOT") {
|
||||||
isChanging = true
|
isChanging = true
|
||||||
}
|
}
|
||||||
compileOnly("com.alttd.datalock:api:1.1.0-SNAPSHOT")
|
compileOnly("com.alttd.datalock:api:1.1.0-SNAPSHOT")
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,18 @@
|
||||||
rootProject.name = "AQuest"
|
rootProject.name = "AQuest"
|
||||||
|
|
||||||
|
val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME")
|
||||||
|
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD")
|
||||||
|
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven {
|
||||||
|
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
||||||
|
credentials {
|
||||||
|
username = nexusUser
|
||||||
|
password = nexusPass
|
||||||
|
}
|
||||||
|
}
|
||||||
maven("https://repo.destro.xyz/snapshots") // Altitude - Cosmos
|
maven("https://repo.destro.xyz/snapshots") // Altitude - Cosmos
|
||||||
maven("https://jitpack.io") { // Vault
|
maven("https://jitpack.io") { // Vault
|
||||||
content { includeGroup("com.github.milkbowl") }
|
content { includeGroup("com.github.milkbowl") }
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,11 @@ public class ProgressBookOpener {
|
||||||
dailyQuest.getTagResolvers()
|
dailyQuest.getTagResolvers()
|
||||||
);
|
);
|
||||||
List<String> pages = new ArrayList<>(Config.PROGRESS_PAGES);
|
List<String> pages = new ArrayList<>(Config.PROGRESS_PAGES);
|
||||||
|
if (!dailyQuest.isDone()) {
|
||||||
|
pages.addAll(dailyQuest.getQuestPages());
|
||||||
|
}
|
||||||
return (pages.stream()
|
return (pages.stream()
|
||||||
.map(page -> miniMessage.deserialize(page, tagResolver))
|
.map(page -> miniMessage.deserialize(page, tagResolver))
|
||||||
.collect(Collectors.toList()));
|
.collect(Collectors.toList()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user