From d092c98897156524c76b906acbd5ac2d1d04d99f Mon Sep 17 00:00:00 2001 From: EnZaXD <60033407+FlorianMichael@users.noreply.github.com> Date: Sun, 8 Oct 2023 07:10:35 +0200 Subject: [PATCH] Fix ViaBackwards#init previous platform check (#602) --- .../src/main/java/com/viaversion/viabackwards/ViaBackwards.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/ViaBackwards.java b/common/src/main/java/com/viaversion/viabackwards/ViaBackwards.java index db1d9c67..a8ca62c1 100644 --- a/common/src/main/java/com/viaversion/viabackwards/ViaBackwards.java +++ b/common/src/main/java/com/viaversion/viabackwards/ViaBackwards.java @@ -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;