From 7aa35798be22d5a84836cad4c3736d369b3fcf5f Mon Sep 17 00:00:00 2001 From: IntegratedQuantum Date: Sun, 20 Jul 2025 22:46:37 +0200 Subject: [PATCH] Fix chisel behavior for blocks with resistance Until we have a proper tool for it #760 it should break the corners in one hit independently of resistance --- src/renderer.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer.zig b/src/renderer.zig index ea186f4c..923acad3 100644 --- a/src/renderer.zig +++ b/src/renderer.zig @@ -1062,7 +1062,7 @@ pub const MeshSelection = struct { // MARK: MeshSelection } const isChisel = stack.item != null and stack.item.? == .baseItem and std.mem.eql(u8, stack.item.?.baseItem.id(), "cubyz:chisel"); if(isChisel and block.mode() == main.rotation.getByID("cubyz:stairs")) { // TODO: Remove once the chisel is a tool. - damage = block.blockHealth(); + damage = block.blockHealth() + block.blockResistance(); } damage -= block.blockResistance(); if(damage > 0) {