mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow digging unknown nodes
This commit is contained in:
parent
d06d7cb9a4
commit
d566ffaa5f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue