Merge branch 'master' into noblockpos

This commit is contained in:
Leijurv 2018-09-22 09:35:33 -07:00
commit f07c02ff41
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -334,7 +334,7 @@ public interface MovementHelper extends ActionCosts, Helper {
}
double m = Blocks.CRAFTING_TABLE.equals(block) ? 10 : 1; // TODO see if this is still necessary. it's from MineBot when we wanted to penalize breaking its crafting table
double strVsBlock = context.getToolSet().getStrVsBlock(state);
if (strVsBlock < 0) {
if (strVsBlock <= 0) {
return COST_INF;
}