Remove unnecessary line
Remove the unnecessary line in BlockCommands, as the calculated quantity is
never used. The raw quantityParam is passed directly to giveBlock.
@@ -233,7 +233,6 @@ public String bulkGiveBlock(
@CommandParam("searched") String searched,
@CommandParam(value = "quantity", required = false) Integer quantityParam,
@CommandParam(value = "shapeName", required = false) String shapeUriParam) {
- int quantity = quantityParam != null ? quantityParam : 16;
String searchLowercase = searched.toLowerCase();
List<String> blocks = findBlockMatches(searchLowercase);
String result = "Found " + blocks.size() + " block matches when searching for '" + searched + "'.";
