1
0
mirror of https://github.com/minetest-mods/3d_armor.git synced 2024-12-27 03:00:40 +01:00

armorstand nodes are not ground content (#134)

This commit is contained in:
Luke aka SwissalpS 2024-02-29 07:39:44 +01:00 committed by GitHub
parent 4bac73fc9e
commit 7fc313f911
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -144,6 +144,7 @@ minetest.register_node("3d_armor_stand:top", {
buildable_to = false, buildable_to = false,
drop = "", drop = "",
groups = {not_in_creative_inventory = 1}, groups = {not_in_creative_inventory = 1},
is_ground_content = false,
on_blast = function() end, on_blast = function() end,
tiles = {"3d_armor_trans.png"}, tiles = {"3d_armor_trans.png"},
}) })
@ -165,6 +166,7 @@ minetest.register_node("3d_armor_stand:armor_stand", {
}, },
}, },
groups = {choppy=2, oddly_breakable_by_hand=2}, groups = {choppy=2, oddly_breakable_by_hand=2},
is_ground_content = false,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
@ -234,6 +236,7 @@ minetest.register_node("3d_armor_stand:locked_armor_stand", {
}, },
}, },
groups = {choppy=2, oddly_breakable_by_hand=2}, groups = {choppy=2, oddly_breakable_by_hand=2},
is_ground_content = false,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
@ -316,6 +319,7 @@ minetest.register_node("3d_armor_stand:shared_armor_stand", {
}, },
}, },
groups = {choppy=2, oddly_breakable_by_hand=2}, groups = {choppy=2, oddly_breakable_by_hand=2},
is_ground_content = false,
sounds = default.node_sound_wood_defaults(), sounds = default.node_sound_wood_defaults(),
on_construct = function(pos) on_construct = function(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)