3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-09-27 22:00:17 +02:00

Move platforms for isolation

Dieser Commit ist enthalten in:
Tim203 2024-02-18 19:03:14 +01:00
Ursprung f1f30e5d19
Commit bc301fba60
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
56 geänderte Dateien mit 28 neuen und 8 gelöschten Zeilen

Datei anzeigen

@ -144,6 +144,16 @@ public class GeyserBungeePingPassthrough implements IGeyserPingPassthrough, List
return false;
}
@Override
public boolean isTransferred() {
return false;
}
@Override
public CompletableFuture<byte[]> retrieveCookie(String s) {
return null;
}
@Override
public InetSocketAddress getAddress() {
return remote;

Datei anzeigen

@ -21,9 +21,12 @@ java {
val platforms = setOf(
projects.fabric,
projects.bungeecord,
projects.bungeecordBase,
projects.spigot,
projects.spigotBase,
projects.standalone,
projects.velocity
projects.velocity,
projects.velocityBase
).map { it.dependencyProject }
subprojects {

Datei anzeigen

@ -59,16 +59,23 @@ rootProject.name = "geyser-parent"
include(":ap")
include(":api")
include(":bungeecord")
include(":fabric")
include(":spigot")
include(":standalone")
include(":velocity")
include(":core")
// Specify project dirs
project(":bungeecord").projectDir = file("bootstrap/bungeecord")
project(":fabric").projectDir = file("bootstrap/fabric")
project(":spigot").projectDir = file("bootstrap/spigot")
project(":standalone").projectDir = file("bootstrap/standalone")
project(":velocity").projectDir = file("bootstrap/velocity")
//todo see what's possible with fabric
project(":fabric").projectDir = file("bootstrap/fabric")
arrayOf("bungeecord", "spigot", "velocity").forEach { platform ->
arrayOf("base", "isolated").forEach {
var id = ":$platform-$it"
// isolated is the new default
if (id.endsWith("-isolated")) id = ":$platform"
include(id)
project(id).projectDir = file("bootstrap/$platform/$it")
}
}