mirror of https://github.com/cabaletta/baritone
yay travis checks javadocs now
This commit is contained in:
parent
96360ddb24
commit
177f5de2bd
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue