Commits

md_5 authored 432456cf80f
BUILDTOOLS-622: Fix building versions older than 1.8.8
No tags

src/main/java/org/spigotmc/builder/Builder.java

Modified
749 749 private static boolean checkHash(File vanillaJar, VersionInfo versionInfo) throws IOException
750 750 {
751 751 if ( versionInfo.getShaServerHash() != null )
752 752 {
753 753 return checkHash( vanillaJar, HashFormat.SHA1, versionInfo.getShaServerHash() );
754 754 } else if ( versionInfo.getMinecraftHash() != null )
755 755 {
756 756 return checkHash( vanillaJar, HashFormat.MD5, versionInfo.getMinecraftHash() );
757 757 } else
758 758 {
759 - return true;
759 + return vanillaJar.isFile();
760 760 }
761 761 }
762 762
763 763 private static boolean checkHash(File vanillaJar, HashFormat hashFormat, String goodHash) throws IOException
764 764 {
765 765 if ( !vanillaJar.isFile() )
766 766 {
767 767 return false;
768 768 }
769 769

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut