Skip to content

Commit

Permalink
Dropbox: check for owner on item take (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissalpS committed Apr 5, 2021
1 parent 7db8f7b commit 6be8145
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion models/dropbox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ local dropbox = gen_def({
return 0
end
return stack_count
end
end,
allow_metadata_inventory_take = actions.get_allow_metadata_inventory_take({
"dropbox", check_privs = actions.has_locked_chest_privilege
}),
})


Expand Down

0 comments on commit 6be8145

Please sign in to comment.