-
-
Save Andrey2470T/a630ef57a8813c0406a318c47f0ac72d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
allow_metadata_inventory_put = function (pos, listname, index, stack, player) | |
local itemstring = stack:get_name() | |
if string.find(itemstring, "syringe") and string.find(itemstring, "medicine:") then | |
return -1 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment