From d566ffaa5fc8400d4b457b2c0b4edd36189417d9 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 13:56:39 +0200 Subject: [PATCH] Allow digging unknown nodes --- src/nodedef.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index cbb3b613..9f2d4f0a 100644 --- a/src/nodedef.cpp +++ b/src/nodedef.cpp @@ -472,6 +472,8 @@ public: ContentFeatures f; f.name = name; f.setAllTextures("unknown_block.png"); + // Make unknown blocks diggable + f.material.diggability = DIGGABLE_NORMAL; return set(name, f); } virtual void updateTextures(ITextureSource *tsrc) -- 2.30.2