diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2020-09-24 15:33:17 +0000 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2020-09-24 15:33:17 +0000 |
commit | d93396600f25f3f8058a995753ca9277dd9a2ae9 (patch) | |
tree | 955949624fc42ff95b5175be1eb21981e4277b9d | |
parent | 61b061f669f84652f6d5dc3a41e3b3fe7a0da370 (diff) | |
parent | c966a8a57d5c057472eeca6ee3e40655be62993f (diff) | |
download | pipeworks-d93396600f25f3f8058a995753ca9277dd9a2ae9.tar pipeworks-d93396600f25f3f8058a995753ca9277dd9a2ae9.tar.gz pipeworks-d93396600f25f3f8058a995753ca9277dd9a2ae9.tar.bz2 pipeworks-d93396600f25f3f8058a995753ca9277dd9a2ae9.tar.xz pipeworks-d93396600f25f3f8058a995753ca9277dd9a2ae9.zip |
Merge branch 'protected-access-to-wielders' into 'master'
Allow protected access to wielder inventories.
Closes #40
See merge request VanessaE/pipeworks!27
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,8 +71,8 @@ function pipeworks.may_configure(pos, player) local meta = minetest.get_meta(pos) local owner = meta:get_string("owner") - if owner ~= "" then -- wielders and filters - return owner == name + if owner ~= "" and owner == name then -- wielders and filters + return true end return not minetest.is_protected(pos, name) end |