mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-08-29 23:49:52 +02:00
Fix isPremium method
This commit is contained in:
parent
fc9a221127
commit
38d0cc1b29
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user