From d566ffaa5fc8400d4b457b2c0b4edd36189417d9 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 3 Dec 2011 13:56:39 +0200 Subject: Allow digging unknown nodes --- src/nodedef.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nodedef.cpp b/src/nodedef.cpp index cbb3b6130..9f2d4f0af 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) -- cgit v1.2.3