cut nodes aren't ground content

By default make cut nodes non ground content but allow mods to register theirs as ground content if they want to.
This commit is contained in:
Luke aka SwissalpS 2024-02-27 00:36:58 +01:00 committed by GitHub
parent 500a07d680
commit ba5f11271a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
def[k] = v
end
def.is_ground_content = def.is_ground_content == true
def.drawtype = "nodebox"
def.paramtype = "light"
def.paramtype2 = def.paramtype2 or "facedir"