set is_ground_content = false

follow latest trends in modmaking
This commit is contained in:
whosit 2024-03-01 13:11:48 +03:00
parent 48193a70e3
commit 29e6309643

View File

@ -99,7 +99,7 @@ minetest.register_node("yl_dice:dice", {
wield_image = "yl_dice_3.png",
groups = { dig_immediate = 2 },
palette = "yl_dice_6_palette.png",
is_ground_content = false,
on_construct = function(pos)
local val = roll_dice(pos)
minetest.log("action", ("[yl_dice] placed d6 has rolled %s at %s"):format(val, minetest.pos_to_string(pos)))