Fixed pi rate error again..

This commit is contained in:
libraryaddict 2019-12-22 18:15:55 +13:00
parent f52a2dbc21
commit d657c5be5f

View File

@ -242,8 +242,10 @@ public class LibsDisguises extends JavaPlugin {
// Invalidate invalid distribution // Invalidate invalid distribution
if (LibsPremium.isPremium() && if (LibsPremium.isPremium() &&
((LibsPremium.getPaidInformation() != null && !LibsPremium.getPaidInformation().isLegit()) || ((LibsPremium.getPaidInformation() != null && LibsPremium.getPaidInformation().isPremium() &&
!LibsPremium.getPaidInformation().isLegit()) ||
(LibsPremium.getPluginInformation() != null && (LibsPremium.getPluginInformation() != null &&
LibsPremium.getPluginInformation().isPremium() &&
!LibsPremium.getPluginInformation().isLegit()))) { !LibsPremium.getPluginInformation().isLegit()))) {
throw new IllegalStateException( throw new IllegalStateException(
"Error while checking pi rate on startup! Please re-download the jar from SpigotMC before " + "Error while checking pi rate on startup! Please re-download the jar from SpigotMC before " +