yay travis checks javadocs now
This commit is contained in:
parent
96360ddb24
commit
177f5de2bd
@ -99,7 +99,7 @@ mixin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
javadoc {
|
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
|
source += sourceSets.api.allJava
|
||||||
classpath += sourceSets.api.compileClasspath
|
classpath += sourceSets.api.compileClasspath
|
||||||
}
|
}
|
||||||
|
@ -137,7 +137,7 @@ public class ToolSet {
|
|||||||
*
|
*
|
||||||
* @param item the item to mine it with
|
* @param item the item to mine it with
|
||||||
* @param state the blockstate to be mined
|
* @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) {
|
public static double calculateSpeedVsBlock(ItemStack item, IBlockState state) {
|
||||||
float hardness = state.getBlockHardness(null, null);
|
float hardness = state.getBlockHardness(null, null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user