SteamWar/SpigotCore
Archiviert
13
0

Fix Build and missing SchematicData function
Einige Prüfungen sind fehlgeschlagen
SteamWarCI Build failed

Dieser Commit ist enthalten in:
Lixfel 2022-09-24 20:20:57 +02:00
Ursprung e06b7e27f5
Commit 64dc2089c3
10 geänderte Dateien mit 17 neuen und 17 gelöschten Zeilen

Datei anzeigen

@ -43,7 +43,7 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
compileOnly swdep("Spigot-1.10") compileOnly swdep("Spigot-1.10")
} }

Datei anzeigen

@ -43,7 +43,7 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
compileOnly swdep("Spigot-1.12") compileOnly swdep("Spigot-1.12")
} }

Datei anzeigen

@ -43,8 +43,8 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
implementation project(':CommonCore') compileOnly project(':CommonCore')
compileOnly project(":SpigotCore_8") compileOnly project(":SpigotCore_8")
compileOnly project(":SpigotCore_9") compileOnly project(":SpigotCore_9")

Datei anzeigen

@ -43,7 +43,7 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
compileOnly swdep("Spigot-1.15") compileOnly swdep("Spigot-1.15")
} }

Datei anzeigen

@ -43,9 +43,9 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
implementation project(":SpigotCore_14") compileOnly project(":SpigotCore_14")
implementation project(':CommonCore') compileOnly project(':CommonCore')
compileOnly swdep("WorldEdit-1.15") compileOnly swdep("WorldEdit-1.15")

Datei anzeigen

@ -43,8 +43,8 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
implementation project(":SpigotCore_14") compileOnly project(":SpigotCore_14")
compileOnly project(":SpigotCore_18") compileOnly project(":SpigotCore_18")
compileOnly swdep("WorldEdit-1.15") compileOnly swdep("WorldEdit-1.15")

Datei anzeigen

@ -43,8 +43,8 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
implementation project(':CommonCore') compileOnly project(':CommonCore')
compileOnly swdep("Spigot-1.8") compileOnly swdep("Spigot-1.8")
compileOnly swdep("WorldEdit-1.12") compileOnly swdep("WorldEdit-1.12")

Datei anzeigen

@ -43,7 +43,7 @@ sourceSets {
} }
dependencies { dependencies {
implementation project(":SpigotCore_Main") compileOnly project(":SpigotCore_Main")
compileOnly project(":SpigotCore_8") compileOnly project(":SpigotCore_8")
compileOnly swdep("Spigot-1.9") compileOnly swdep("Spigot-1.9")

Datei anzeigen

@ -64,7 +64,7 @@ dependencies {
testImplementation 'junit:junit:4.13.2' testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:hamcrest:2.2' testImplementation 'org.hamcrest:hamcrest:2.2'
implementation project(':CommonCore') compileOnly project(':CommonCore')
} }
processResources { processResources {

Datei anzeigen

@ -84,15 +84,15 @@ public class SchematicData {
} }
public void saveFromPlayer(Player player, boolean newFormat) throws IOException, NoClipboardException { public void saveFromPlayer(Player player, boolean newFormat) throws IOException, NoClipboardException {
updateDatabase(WorldEditWrapper.impl.getPlayerClipboard(player, newFormat), newFormat); saveFromStream(WorldEditWrapper.impl.getPlayerClipboard(player, newFormat), newFormat);
} }
@Deprecated @Deprecated
public void saveFromBytes(byte[] bytes, boolean newFormat) { public void saveFromBytes(byte[] bytes, boolean newFormat) {
updateDatabase(new ByteArrayInputStream(bytes), newFormat); saveFromStream(new ByteArrayInputStream(bytes), newFormat);
} }
private void updateDatabase(InputStream blob, boolean newFormat) { public void saveFromStream(InputStream blob, boolean newFormat) {
updateDatabase.update(blob, newFormat, node.getId()); updateDatabase.update(blob, newFormat, node.getId());
node.setNodeFormat(newFormat); node.setNodeFormat(newFormat);
} }