3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-25 15:50:12 +01:00

Fix ViaBackwards#init previous platform check (#602)

Dieser Commit ist enthalten in:
EnZaXD 2023-10-08 07:10:35 +02:00 committet von GitHub
Ursprung 75680296e8
Commit d092c98897
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(platform != null, "ViaBackwards is already initialized"); Preconditions.checkArgument(ViaBackwardsPlatform.platform != null, "ViaBackwards is already initialized");
ViaBackwards.platform = platform; ViaBackwards.platform = platform;
ViaBackwards.config = config; ViaBackwards.config = config;