mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Actually fix facedir-rotated nodes placed using minetest.env:place_node()
This commit is contained in:
parent
a2738dec59
commit
0b61253931
2 changed files with 10 additions and 5 deletions
|
@ -447,6 +447,9 @@ minetest.register_node("experimental:tester_node_1", {
|
|||
tile_images = {"wieldhand.png"},
|
||||
groups = {oddly_breakable_by_hand=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
-- This was known to cause a bug in minetest.item_place_node() when used
|
||||
-- via minetest.env:place_node(), causing a placer with no position
|
||||
paramtype2 = "facedir",
|
||||
|
||||
on_construct = function(pos)
|
||||
experimental.print_to_everything("experimental:tester_node_1:on_construct("..minetest.pos_to_string(pos)..")")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue