Skip to content

Commit

Permalink
artisanryui is now using itemutil.blop to drop items.
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertZenz committed Oct 31, 2015
1 parent e1d2dbf commit 0220ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/artisanry/artisanryui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function artisanryui.drop_items(player, formname, fields)
local stack = artisanryui.inventory:get_stack(list_name, index)

if not stack:is_empty() then
minetest.add_item(position, stack:to_string())
itemutil.blop(player, stack)

artisanryui.inventory:set_stack(list_name, index, nil)
end
Expand Down

0 comments on commit 0220ab8

Please sign in to comment.