From b8141f6c875d30ea679d10d23c0f376251e05073 Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Tue, 7 Apr 2020 22:59:29 +0100 Subject: Add additional blocks which are not breakable by hand --- src/Items/ItemPickaxe.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Items/ItemPickaxe.h') diff --git a/src/Items/ItemPickaxe.h b/src/Items/ItemPickaxe.h index 58df18428..fd3532729 100644 --- a/src/Items/ItemPickaxe.h +++ b/src/Items/ItemPickaxe.h @@ -47,6 +47,7 @@ public: virtual bool CanHarvestBlock(BLOCKTYPE a_BlockType) override { + // NOTICE: Make sure to update cItemHandler::CanHarvestBlock() if adding new blocks here! switch (a_BlockType) { case E_BLOCK_OBSIDIAN: -- cgit v1.2.3