Added test for releases

This commit is contained in:
libraryaddict
2019-12-14 11:49:01 +13:00
parent 320b4e1cb7
commit da0e282258
3 changed files with 6 additions and 4 deletions

View File

@@ -67,6 +67,6 @@ public class PluginInformation {
}
public boolean isLegit() {
return getUserID().matches("[0-9]+") && getResourceID().equals("32453") && getDownloadID().matches("-?[0-9]+");
return getUserID().matches("[0-9]+") && !getUserID().equals("12345") && getResourceID().equals("32453") && getDownloadID().matches("-?[0-9]+");
}
}