diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-26 15:49:06 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2017-01-26 15:49:06 -0500 |
commit | 3e93c10cfda7ce1744a05c3d1ce0815684eb23d5 (patch) | |
tree | 8999c4eb630253f6a0cb4d202b8dc37e741114a3 | |
parent | 2959698111a6d7179676f8b3bdba738bf79b11d8 (diff) | |
download | unifieddyes-3e93c10cfda7ce1744a05c3d1ce0815684eb23d5.tar unifieddyes-3e93c10cfda7ce1744a05c3d1ce0815684eb23d5.tar.gz unifieddyes-3e93c10cfda7ce1744a05c3d1ce0815684eb23d5.tar.bz2 unifieddyes-3e93c10cfda7ce1744a05c3d1ce0815684eb23d5.tar.xz unifieddyes-3e93c10cfda7ce1744a05c3d1ce0815684eb23d5.zip |
handle both cases of nodes being set with facedir
-rw-r--r-- | init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -282,6 +282,7 @@ function unifieddyes.on_rightclick(pos, node, player, stack, pointed_thing, newn end end node.name = newnode + node.param2 = paletteidx + (minetest.get_node(pos).param2 % 32) minetest.swap_node(pos, node) else -- this path is used when you're just painting an existing node, rather than replacing one. newnode = oldnode -- note that here, newnode/oldnode are a full node, not just the name. |