mirror of
https://github.com/minetest-mods/more_chests.git
synced 2025-01-09 08:50:18 +01:00
Dropbox: check for owner on item take (#29)
This commit is contained in:
parent
7db8f7ba10
commit
6be81453ca
@ -29,7 +29,10 @@ local dropbox = gen_def({
|
|||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
return stack_count
|
return stack_count
|
||||||
end
|
end,
|
||||||
|
allow_metadata_inventory_take = actions.get_allow_metadata_inventory_take({
|
||||||
|
"dropbox", check_privs = actions.has_locked_chest_privilege
|
||||||
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user