From 38d0cc1b2905584a9be9c8943596c7295f197263 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Thu, 20 Feb 2020 00:05:55 +0100 Subject: [PATCH] Fix isPremium method --- .../plotsquared/plot/util/PremiumVerification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/PremiumVerification.java b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/PremiumVerification.java index d9136d20b..7886248a2 100644 --- a/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/PremiumVerification.java +++ b/Core/src/main/java/com/github/intellectualsites/plotsquared/plot/util/PremiumVerification.java @@ -29,7 +29,7 @@ public class PremiumVerification { * Returns true if this plugin is premium */ public static Boolean isPremium() { - return usingPremium == null ? isPremium(getUserID()) : usingPremium; + return usingPremium == null ? (usingPremium = isPremium(getUserID())) : usingPremium; } }