commonDB #211
@ -43,7 +43,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
|
||||
compileOnly swdep("Spigot-1.10")
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
|
||||
compileOnly swdep("Spigot-1.12")
|
||||
}
|
||||
|
@ -43,8 +43,8 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
implementation project(':CommonCore')
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
Lixfel markierte diese Unterhaltung als gelöst
Veraltet
|
||||
compileOnly project(':CommonCore')
|
||||
Lixfel markierte diese Unterhaltung als gelöst
Veraltet
YoyoNow
hat
Nutze lieber bis auf an einer Stelle (In Main oder so) 'compileOnly' statt 'implementation' Nutze lieber bis auf an einer Stelle (In Main oder so) 'compileOnly' statt 'implementation'
|
||||
compileOnly project(":SpigotCore_8")
|
||||
compileOnly project(":SpigotCore_9")
|
||||
|
||||
|
@ -43,7 +43,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
|
||||
compileOnly swdep("Spigot-1.15")
|
||||
}
|
||||
|
@ -43,9 +43,9 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
implementation project(":SpigotCore_14")
|
||||
implementation project(':CommonCore')
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_14")
|
||||
compileOnly project(':CommonCore')
|
||||
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
|
||||
|
@ -43,8 +43,8 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
implementation project(":SpigotCore_14")
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_14")
|
||||
compileOnly project(":SpigotCore_18")
|
||||
|
||||
compileOnly swdep("WorldEdit-1.15")
|
||||
|
@ -43,8 +43,8 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
implementation project(':CommonCore')
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
compileOnly project(':CommonCore')
|
||||
|
||||
compileOnly swdep("Spigot-1.8")
|
||||
compileOnly swdep("WorldEdit-1.12")
|
||||
|
@ -43,7 +43,7 @@ sourceSets {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_Main")
|
||||
compileOnly project(":SpigotCore_8")
|
||||
|
||||
compileOnly swdep("Spigot-1.9")
|
||||
|
@ -64,7 +64,7 @@ dependencies {
|
||||
testImplementation 'junit:junit:4.13.2'
|
||||
testImplementation 'org.hamcrest:hamcrest:2.2'
|
||||
|
||||
implementation project(':CommonCore')
|
||||
compileOnly project(':CommonCore')
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
@ -84,15 +84,15 @@ public class SchematicData {
|
||||
}
|
||||
|
||||
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
|
||||
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());
|
||||
node.setNodeFormat(newFormat);
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
s.u., hier aber von mir nicht ganz korrekt gemacht.