forked from ThomasMonroe314/ugxrealms
[clothing] update
This commit is contained in:
parent
43832e74ab
commit
2a3276ce08
@ -80,7 +80,8 @@ minetest.register_on_joinplayer(function(player)
|
||||
end,
|
||||
allow_put = function(inv, listname, index, stack, player)
|
||||
local item = stack:get_name()
|
||||
if minetest.get_item_group(item, "clothing") > 0 then
|
||||
if minetest.get_item_group(item, "clothing") > 0 or
|
||||
minetest.get_item_group(item, "cape") > 0 then
|
||||
return 1
|
||||
end
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user