Skip to content

Commit 277ee9d

Browse files
committed
fix block_damage
1 parent 9ca238f commit 277ee9d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function Commands.scanAndBreak(scan_id, target_x, target_y, target_z)
8888
print("Error sending data: " .. err)
8989
else
9090
print("Position marked as scanned")
91-
if blockInfo.hardness == 0 then
91+
if blockInfo.block_damage == 0 then
9292
Sender.scanBlocksRadius(scan_id, 5)
9393
end
9494
end

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local versions = {
2-
programVersion = "0.1.16",
2+
programVersion = "0.1.17",
33
}
44

55
return versions

0 commit comments

Comments
 (0)