From 0b612539318a688ad24b66392bf39aedf8a01f62 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sat, 21 Jul 2012 21:23:15 +0300 Subject: Actually fix facedir-rotated nodes placed using minetest.env:place_node() --- games/minimal/mods/experimental/init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'games/minimal') diff --git a/games/minimal/mods/experimental/init.lua b/games/minimal/mods/experimental/init.lua index fb3310246..5661a660f 100644 --- a/games/minimal/mods/experimental/init.lua +++ b/games/minimal/mods/experimental/init.lua @@ -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)..")") -- cgit v1.2.3