Beds: Do not crash when placing in an unknown node
[oweals/minetest_game.git] / game_api.txt
index 887f394e28f4f0e84ed6687e6c191f990d30db11..1864cba4279b6e1b021b20d59f449887f2330a2c 100644 (file)
@@ -155,7 +155,8 @@ The doors mod allows modders to register custom doors and trapdoors.
 ### Fence gate definition
 
        description = "Wooden Fence Gate",
-       texture = "default_wood.png",
+       texture = "default_wood.png", -- `backface_culling` will automatically be
+                                     -- set to `true` if not specified.
        material = "default:wood",
        groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
        sounds = default.node_sound_wood_defaults(), -- optional