aboutsummaryrefslogtreecommitdiff
path: root/games/minimal
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-21 21:23:15 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-21 21:23:15 +0300
commit0b612539318a688ad24b66392bf39aedf8a01f62 (patch)
treee3f48eb66d599767e8310851ae2e29335bd3fa6a /games/minimal
parenta2738dec591e9a399e613b9161a7e3ea98674180 (diff)
downloadminetest-0b612539318a688ad24b66392bf39aedf8a01f62.tar.gz
minetest-0b612539318a688ad24b66392bf39aedf8a01f62.tar.bz2
minetest-0b612539318a688ad24b66392bf39aedf8a01f62.zip
Actually fix facedir-rotated nodes placed using minetest.env:place_node()
Diffstat (limited to 'games/minimal')
-rw-r--r--games/minimal/mods/experimental/init.lua3
1 files changed, 3 insertions, 0 deletions
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)..")")