From 3381c0f6d6671a485283c889b036c0a431e2a2b9 Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Thu, 8 Oct 2020 21:13:44 +0200 Subject: Merged OnBreak with OnPlayerBreak (#4967) Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Tiger Wang --- src/Items/ItemLighter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Items') diff --git a/src/Items/ItemLighter.h b/src/Items/ItemLighter.h index a7e192ee6..064671c2e 100644 --- a/src/Items/ItemLighter.h +++ b/src/Items/ItemLighter.h @@ -65,7 +65,7 @@ public: case E_BLOCK_TNT: { // Activate the TNT: - a_World->DigBlock(a_ClickedBlockPos); + a_World->DigBlock(a_ClickedBlockPos, a_Player); a_World->SpawnPrimedTNT(Vector3d(a_ClickedBlockPos) + Vector3d(0.5, 0.5, 0.5)); // 80 ticks to boom break; } -- cgit v1.2.3