diff options
author | HybridDog <ovvv@web.de> | 2021-02-05 17:17:50 +0100 |
---|---|---|
committer | HybridDog <ovvv@web.de> | 2021-02-05 17:17:50 +0100 |
commit | 17a602a5a1d3b0362152222dc62c102c399ec4a4 (patch) | |
tree | 27f0ebea3b8ac8f36eea8fb58d38947fab81e31d /legacy.lua | |
parent | 2294a235826810864c1dbae7db644dfbc4722e6c (diff) | |
download | pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar.gz pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar.bz2 pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.tar.xz pipeworks-17a602a5a1d3b0362152222dc62c102c399ec4a4.zip |
Remove unused loop variables, trailing whitespace and fix mixed-whitespace indentations
Diffstat (limited to 'legacy.lua')
-rw-r--r-- | legacy.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ local S = minetest.get_translator("pipeworks") -if not minetest.get_modpath("auto_tree_tap") and +if not minetest.get_modpath("auto_tree_tap") and minetest.get_modpath("technic") then minetest.register_abm({ @@ -38,10 +38,10 @@ if not minetest.get_modpath("auto_tree_tap") and after_place_node = function (pos, placer) pipeworks.scan_for_tube_objects(pos, placer) local placer_pos = placer:get_pos() - + --correct for the player's height if placer:is_player() then placer_pos.y = placer_pos.y + 1.5 end - + --correct for 6d facedir if placer_pos then local dir = { |