Skip to content

Commit 06e0458

Browse files
authored
Merge pull request #103 from justADeni/maven-tos-fix
fix: for Paper, changed Maven central CDN to Paper Maven CDN
2 parents 3b7f69e + 608022b commit 06e0458

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

paper/src/main/java/de/rexlmanu/fairychat/plugin/paper/FairyChatLoader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public Stream<Dependency> asDependencies() {
4343

4444
public Stream<RemoteRepository> asRepositories() {
4545
return this.repositories.entrySet().stream()
46+
.map(e -> Map.entry(e.getKey(), e.getKey().equals("MavenRepo") ? "https://repo.papermc.io/repository/maven-public/" : e.getValue()))
4647
.map(e -> new RemoteRepository.Builder(e.getKey(), "default", e.getValue()).build());
4748
}
4849
}

0 commit comments

Comments
 (0)