misc cleanup 3

This commit is contained in:
Leijurv
2018-09-16 17:49:19 -07:00
parent e75d0ff102
commit af58304b38
16 changed files with 47 additions and 57 deletions

View File

@@ -168,7 +168,7 @@ public final class MineBehavior extends Behavior implements Helper {
.filter(pos -> !mining.contains(BlockStateInterface.get(pos).getBlock()))
.collect(Collectors.toList()));
if (locs.size() > max) {
locs = locs.subList(0, max);
return locs.subList(0, max);
}
return locs;
}