3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-07 12:00:07 +01:00
Dieser Commit ist enthalten in:
Octavia Togami 2020-02-23 17:39:30 -08:00 committet von MattBDev
Ursprung f1fb51f748
Commit f18cb1a0e1
2 geänderte Dateien mit 2 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -36,7 +36,6 @@ configurations.all {
dependencies {
compile("com.github.MilkBowl:VaultAPI:1.7") { isTransitive = false }
"api"(project(":worldedit-core"))
api(project(":worldedit-libs:core"))
"api"(project(":worldedit-libs:bukkit"))
"compile"(":worldedit-adapters:")
"compile"("org.spigotmcv1_14_r1:spigotmcv1_14_r1:1_14_r1")
@ -52,7 +51,7 @@ dependencies {
"compileOnly"("com.sk89q:dummypermscompat:1.10")
"implementation"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
"testCompile"("org.mockito:mockito-core:1.9.0-rc1")
"compileOnly"("com.sk89q.worldguard:worldguard-bukkit:7.0.+") {
"compileOnly"("com.sk89q.worldguard:worldguard-bukkit:7.+") {
exclude("com.sk89q.worldedit", "worldedit-bukkit")
exclude("com.sk89q.worldedit", "worldedit-core")
exclude("com.sk89q.worldedit.worldedit-libs", "bukkit")
@ -91,7 +90,6 @@ tasks.named<ShadowJar>("shadowJar") {
relocate("org.apache.logging.slf4j", "com.sk89q.worldedit.log4jbridge")
relocate("org.antlr.v4", "com.sk89q.worldedit.antlr4")
include(dependency(":worldedit-core"))
include(dependency(":worldedit-libs:core"))
include(dependency(":worldedit-libs:bukkit"))
include(dependency("org.slf4j:slf4j-api"))
include(dependency("org.apache.logging.log4j:log4j-slf4j-impl"))

Datei anzeigen

@ -45,7 +45,7 @@ public class AsyncSign extends AsyncBlockState implements Sign {
private String toJson(String oldInput) {
if (oldInput == null || oldInput.isEmpty()) return "";
return LegacyComponentSerializer.legacy().serialize(TextComponent.of(oldInput));
return LegacyComponentSerializer.INSTANCE.serialize(TextComponent.of(oldInput));
}
@Override