3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-20 06:50:10 +01:00

Fix platform loading (#604)

Dieser Commit ist enthalten in:
EnZaXD 2023-10-08 11:33:00 +02:00 committet von GitHub
Ursprung 9e883faa78
Commit aa1f38674d
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -28,7 +28,7 @@ public final class ViaBackwards {
private static ViaBackwardsConfig config; private static ViaBackwardsConfig config;
public static void init(ViaBackwardsPlatform platform, ViaBackwardsConfig config) { public static void init(ViaBackwardsPlatform platform, ViaBackwardsConfig config) {
Preconditions.checkArgument(ViaBackwards.platform != null, "ViaBackwards is already initialized"); Preconditions.checkArgument(ViaBackwards.platform == null, "ViaBackwards is already initialized");
ViaBackwards.platform = platform; ViaBackwards.platform = platform;
ViaBackwards.config = config; ViaBackwards.config = config;