From dfc060fdcdd7584014e495ead3534636718f51b4 Mon Sep 17 00:00:00 2001 From: filoghost Date: Mon, 6 Jul 2020 18:08:19 +0200 Subject: [PATCH] Fix startup error --- .../me/filoghost/chestcommands/api/internal/BackendAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API/src/main/java/me/filoghost/chestcommands/api/internal/BackendAPI.java b/API/src/main/java/me/filoghost/chestcommands/api/internal/BackendAPI.java index c977c74..21e3000 100644 --- a/API/src/main/java/me/filoghost/chestcommands/api/internal/BackendAPI.java +++ b/API/src/main/java/me/filoghost/chestcommands/api/internal/BackendAPI.java @@ -29,7 +29,7 @@ public abstract class BackendAPI { public static void setImplementation(BackendAPI implementation) { Preconditions.notNull(implementation, "implementation"); - Preconditions.checkState(implementation == null, "implementation already set"); + Preconditions.checkState(BackendAPI.implementation == null, "implementation already set"); BackendAPI.implementation = implementation; }