Notch builds

This commit is contained in:
Brady
2019-03-08 23:18:00 -06:00
parent 1390e04435
commit e2cc51908b
3 changed files with 10 additions and 6 deletions

View File

@@ -189,7 +189,7 @@ public final class MineProcess extends BaritoneProcessHelper implements IMinePro
Set<Item> searchingFor = new HashSet<>();
for (Block block : mining) {
Item drop = block.getItemDropped(block.getDefaultState(), world, null, 0).asItem();
Item ore = Item.getItemFromBlock(block);
Item ore = block.asItem();
searchingFor.add(drop);
searchingFor.add(ore);
}