mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-16 11:15:49 +01:00
Fix platform loading (#604)
This commit is contained in:
parent
9e883faa78
commit
aa1f38674d
@ -28,7 +28,7 @@ public final class ViaBackwards {
|
||||
private static 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.config = config;
|
||||
|
Loading…
Reference in New Issue
Block a user