diff options
author | Beha <shacknetisp@mail.com> | 2021-06-14 12:43:47 -0400 |
---|---|---|
committer | Beha <shacknetisp@mail.com> | 2021-06-14 12:43:47 -0400 |
commit | a0f873e26e280b41c2b002e73b23aee606d93b3a (patch) | |
tree | 1b174b1c50c0648e1ee33c9af9d3f0d26c132bf8 /formspecs.lua | |
parent | 0f16d29c762c50413ab6c1a532d23580ebb9e85c (diff) | |
parent | 33951e4a4789a9fcae466bdb97354c678ff9031c (diff) | |
download | elevator-a0f873e26e280b41c2b002e73b23aee606d93b3a.tar.gz elevator-a0f873e26e280b41c2b002e73b23aee606d93b3a.tar.bz2 elevator-a0f873e26e280b41c2b002e73b23aee606d93b3a.zip |
Merge branch 'master' of github.com:shacknetisp/elevator
Diffstat (limited to 'formspecs.lua')
-rw-r--r-- | formspecs.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/formspecs.lua b/formspecs.lua index 64bd020..ecb6ebe 100644 --- a/formspecs.lua +++ b/formspecs.lua @@ -22,7 +22,7 @@ minetest.register_on_player_receive_fields(function(sender, formname, fields) return true end -- Double check if it's ok to go. - if vector.distance(sender:getpos(), pos) > 1 then + if vector.distance(sender:get_pos(), pos) > 1 then return true end if fields.target then |