yay travis checks javadocs now

This commit is contained in:
Leijurv 2019-01-28 11:56:44 -08:00
parent 96360ddb24
commit 177f5de2bd
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ mixin {
}
javadoc {
options.addStringOption('Xwerror', '-quiet')
options.addStringOption('Xwerror', '-quiet') // makes the build fail on travis when there is a javadoc error
source += sourceSets.api.allJava
classpath += sourceSets.api.compileClasspath
}

View File

@ -137,7 +137,7 @@ public class ToolSet {
*
* @param item the item to mine it with
* @param state the blockstate to be mined
* @rturn how long it would take in ticks
* @return how long it would take in ticks
*/
public static double calculateSpeedVsBlock(ItemStack item, IBlockState state) {
float hardness = state.getBlockHardness(null, null);