Fixes hunger, sounds listener now sync again, fixed checks. Fixes #384

This commit is contained in:
libraryaddict
2019-07-25 15:06:01 +12:00
parent 658c3f0602
commit 887181e6e9
6 changed files with 25 additions and 11 deletions

View File

@@ -245,7 +245,8 @@ public class LibsDisguises extends JavaPlugin {
// Invalidate invalid distribution
if (LibsPremium.isPremium() && LibsPremium.getPaidInformation() != null &&
LibsPremium.getPaidInformation().getDownloadID().equals("-1895736039")) {
(!LibsPremium.getPaidInformation().isLegit() ||
LibsPremium.getPaidInformation().getDownloadID().equals("-1895736039"))) {
throw new IllegalStateException(
"Error while checking pi rate on startup! Please re-download the jar from SpigotMC before " +
"reporting this error!");