Fix isPremium method

This commit is contained in:
Alexander Söderberg 2020-02-20 00:05:55 +01:00
parent fc9a221127
commit 38d0cc1b29

View File

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