Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OgelGames committed Dec 13, 2019
1 parent 46b8aae commit 0862054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ local vendor_template = {
end,
},
allow_metadata_inventory_move = function(pos, from_list, from_index, to_list, to_index, count, player)
if not can_access_vendor_inv(player, pos) then
if (not can_access_vendor_inv(player, pos)) or to_list == "wanted_item" or to_list == "given_item" then
return 0
end
return count
Expand Down

0 comments on commit 0862054

Please sign in to comment.