diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2015-02-01 23:53:25 -0800 |
---|---|---|
committer | Auke Kok <auke-jan.h.kok@intel.com> | 2015-02-01 23:53:25 -0800 |
commit | 19f3c53f053f34664a0a3ac463d1c980510a0455 (patch) | |
tree | 5e328084fbe186c8b28c29b6a6089ef0acaedb1b /init.lua | |
parent | b3c1b160231bd223fddcd26267b2266fce56d6d8 (diff) |
Don't spam server logs.
Just set_node and play_sound at each location.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -363,7 +363,8 @@ local function sed() if node_is_valid_target_for_displacement(tpos) then -- time to displace the node from pos to tpos - minetest.place_node(tpos, node) + minetest.set_node(tpos, node) + minetest.sound_play({name = "default_place_node"}, { pos = tpos }) minetest.get_meta(tpos):from_table(minetest.get_meta(pos):to_table()) minetest.remove_node(pos) |