mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 13:05:41 +01: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
|
* Returns true if this plugin is premium
|
||||||
*/
|
*/
|
||||||
public static Boolean isPremium() {
|
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