Skip to content
Snippets Groups Projects
Commit d566ffaa authored by Perttu Ahola's avatar Perttu Ahola
Browse files

Allow digging unknown nodes

parent d06d7cb9
No related branches found
No related tags found
No related merge requests found
......@@ -472,6 +472,8 @@ class CNodeDefManager: public IWritableNodeDefManager
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment