Use shovels, land in water
This commit is contained in:
@@ -71,6 +71,7 @@ def diffrange(n):
|
||||
|
||||
def break_time(block_id, held_item=0, in_water=False, on_ground=True, enchantments=[], effects={}):
|
||||
# from PrismarineJS/prismarine-block
|
||||
held_item = str(held_item)
|
||||
block_data = blocks.get(block_id)
|
||||
|
||||
can_harvest = 'harvestTools' not in block_data or str(held_item) in block_data['harvestTools']
|
||||
|
||||
Reference in New Issue
Block a user