Skip to content

Commit

Permalink
Merge branch 'EngineHub:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Yomamaeatstoes authored May 6, 2024
2 parents 693e04d + e2e9163 commit 6da1b06
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fabric-minecraft = "com.mojang:minecraft:1.20.6"
fabric-loader = "net.fabricmc:fabric-loader:0.15.10"
fabric-permissions-api = "me.lucko:fabric-permissions-api:0.1-SNAPSHOT"

neoforge = "net.neoforged:neoforge:20.6.11-beta"
neoforge = "net.neoforged:neoforge:20.6.42-beta"

# Mojang-provided libraries, CHECK AGAINST MINECRAFT for versions
guava = "com.google.guava:guava:32.1.3-jre!!"
Expand Down
2 changes: 1 addition & 1 deletion worldedit-bukkit/adapters/adapter-1.20.5/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ plugins {

dependencies {
// https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.5-R0.1-20240426.233703-2")
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.20.6-R0.1-20240505.200405-27")
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

import java.io.FileOutputStream;
import java.io.IOException;
import java.net.URI;
import java.net.URL;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
Expand Down Expand Up @@ -55,7 +56,7 @@ public void loadDataFiles() {
Files.createDirectories(outputFolder);

if (!Files.exists(checkPath)) {
URL url = new URL(DATA_FILE_DOWNLOAD_URL + app.getPlatform().getDataVersion() + "/" + CLI_DATA_VERSION);
URL url = URI.create(DATA_FILE_DOWNLOAD_URL + app.getPlatform().getDataVersion() + "/" + CLI_DATA_VERSION).toURL();

try (var stream = url.openStream()) {
Files.copy(stream, checkPath);
Expand Down

0 comments on commit 6da1b06

Please sign in to comment.