Fix is_ground_content settings for nodes
Remove line if set to the default of 'true'
This commit is contained in:
parent
a2ce7629aa
commit
7fe9ca538b
2
init.lua
2
init.lua
@ -215,6 +215,7 @@ end
|
|||||||
minetest.register_node("tnt:tnt", {
|
minetest.register_node("tnt:tnt", {
|
||||||
description = "TNT",
|
description = "TNT",
|
||||||
tiles = {"tnt_top.png", "tnt_bottom.png", "tnt_side.png"},
|
tiles = {"tnt_top.png", "tnt_bottom.png", "tnt_side.png"},
|
||||||
|
is_ground_content = false,
|
||||||
groups = {dig_immediate=2, mesecon=2},
|
groups = {dig_immediate=2, mesecon=2},
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
on_punch = function(pos, node, puncher)
|
on_punch = function(pos, node, puncher)
|
||||||
@ -268,6 +269,7 @@ minetest.register_node("tnt:gunpowder", {
|
|||||||
description = "Gun Powder",
|
description = "Gun Powder",
|
||||||
drawtype = "raillike",
|
drawtype = "raillike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
is_ground_content = false,
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
tiles = {"tnt_gunpowder_straight.png", "tnt_gunpowder_curved.png", "tnt_gunpowder_t_junction.png", "tnt_gunpowder_crossing.png"},
|
tiles = {"tnt_gunpowder_straight.png", "tnt_gunpowder_curved.png", "tnt_gunpowder_t_junction.png", "tnt_gunpowder_crossing.png"},
|
||||||
|
Loading…
Reference in New Issue
Block a user