Update Upstream

bd87665 Update paperweight + userdev bundle. (1930)
This commit is contained in:
NotMyFault
2021-11-11 22:22:44 +01:00
parent 6df16cfe96
commit 3ad2f8b5fa
5 changed files with 6 additions and 25 deletions

View File

@ -3,7 +3,7 @@ plugins {
}
applyPaperweightAdapterConfiguration(
"1.17.1-R0.1-20211001.111503-102"
"1.17.1-R0.1-20211109.085555-183"
)
repositories {

View File

@ -605,7 +605,7 @@ public final class PaperweightAdapter implements BukkitImplAdapter<net.minecraft
Path tempDir = Files.createTempDirectory("FastAsyncWorldEditWorldGen");
LevelStorageSource levelStorage = LevelStorageSource.createDefault(tempDir);
ResourceKey<LevelStem> worldDimKey = getWorldDimKey(env);
try (LevelStorageSource.LevelStorageAccess session = levelStorage.c("worldeditregentempworld", worldDimKey)) {
try (LevelStorageSource.LevelStorageAccess session = levelStorage.createAccess("worldeditregentempworld", worldDimKey)) {
ServerLevel originalWorld = ((CraftWorld) bukkitWorld).getHandle();
PrimaryLevelData levelProperties = (PrimaryLevelData) originalWorld.getServer()
.getWorldData().overworldData();

View File

@ -1,4 +1,5 @@
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import io.papermc.paperweight.userdev.attribute.Obfuscation
plugins {
`java-library`
@ -59,7 +60,7 @@ val adapters = configurations.create("adapters") {
isCanBeResolved = true
shouldResolveConsistentlyWith(configurations["runtimeClasspath"])
attributes {
attribute(Obfuscation.OBFUSCATION_ATTRIBUTE, objects.named(Obfuscation.REOBFUSCATED))
attribute(Obfuscation.OBFUSCATION_ATTRIBUTE, objects.named(Obfuscation.OBFUSCATED))
}
}