Fixed pi rate error again..

This commit is contained in:
libraryaddict 2019-12-22 18:15:55 +13:00
parent 7b0d61e50f
commit 18887b6542
No known key found for this signature in database
GPG key ID: 052E4FBCD257AEA4

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 " +