mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 14:55:13 -05:00
Allow digging unknown nodes
This commit is contained in:
parent
d06d7cb9a4
commit
d566ffaa5f
@ -472,6 +472,8 @@ public:
|
|||||||
ContentFeatures f;
|
ContentFeatures f;
|
||||||
f.name = name;
|
f.name = name;
|
||||||
f.setAllTextures("unknown_block.png");
|
f.setAllTextures("unknown_block.png");
|
||||||
|
// Make unknown blocks diggable
|
||||||
|
f.material.diggability = DIGGABLE_NORMAL;
|
||||||
return set(name, f);
|
return set(name, f);
|
||||||
}
|
}
|
||||||
virtual void updateTextures(ITextureSource *tsrc)
|
virtual void updateTextures(ITextureSource *tsrc)
|
||||||
|
Loading…
Reference in New Issue
Block a user