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:
Ursprung
75680296e8
Commit
d092c98897
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren