From 6fd35be67ac4195d5c976693a71ba2ad9998666a Mon Sep 17 00:00:00 2001 From: 12xx12 <44411062+12xx12@users.noreply.github.com> Date: Fri, 9 Oct 2020 22:12:19 +0200 Subject: added check if the digger is a nullptr (#4981) Co-authored-by: 12xx12 <12xx12100@gmail.com> --- src/Blocks/BlockIce.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Blocks/BlockIce.h') diff --git a/src/Blocks/BlockIce.h b/src/Blocks/BlockIce.h index 8ff6415fb..76b48d04f 100644 --- a/src/Blocks/BlockIce.h +++ b/src/Blocks/BlockIce.h @@ -85,6 +85,7 @@ private: const cEntity * a_Digger ) const override { + UNUSED(a_Digger); // If there's a solid block or a liquid underneath, convert to water, rather than air if (a_BlockPos.y <= 0) { -- cgit v1.2.3