mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2025-01-21 21:41:34 +01:00
Fix ViaBackwards#init previous platform check (#602)
This commit is contained in:
parent
75680296e8
commit
d092c98897
@ -28,7 +28,7 @@ public final class ViaBackwards {
|
||||
private static 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.config = config;
|
||||
|
Loading…
Reference in New Issue
Block a user