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:
Ursprung
9e883faa78
Commit
aa1f38674d
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren