summaryrefslogtreecommitdiff
path: root/screwdriver.lua
diff options
context:
space:
mode:
authorBremaWeb <brandon@bremaweb.com>2013-11-30 19:45:43 -0600
committerBremaWeb <brandon@bremaweb.com>2013-11-30 19:45:43 -0600
commitbf2f311f21a4a7fd24148aa57f415d2ad6d67562 (patch)
tree151902ae06ff0cbed9065d669220e2f143be1ed4 /screwdriver.lua
parent81a12e3d38c83eacfce4a3eeaec14724dcdb4c8f (diff)
swap parameters for all calls to can_interact
Diffstat (limited to 'screwdriver.lua')
-rw-r--r--screwdriver.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/screwdriver.lua b/screwdriver.lua
index 079d65c..75d9c21 100644
--- a/screwdriver.lua
+++ b/screwdriver.lua
@@ -38,7 +38,7 @@ function safe_screwdriver_handler (itemstack,user,pointed_thing)
if pointed_thing.type~="node" then return end
local pos=minetest.get_pointed_thing_position(pointed_thing,above)
-- Landrush fix
- if not landrush.can_interact( player_name, pos ) then
+ if not landrush.can_interact( pos, player_name ) then
return nil
end
-- end fix