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; }