summaryrefslogtreecommitdiff
path: root/triggers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'triggers.lua')
-rw-r--r--triggers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/triggers.lua b/triggers.lua
index cf8dced..1a4e355 100644
--- a/triggers.lua
+++ b/triggers.lua
@@ -126,7 +126,7 @@ minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv
end
local data = awards.players[player:get_player_name()]
- if not awards.increment_item_counter(data, "craft", itemstack:get_name()) then
+ if not awards.increment_item_counter(data, "craft", itemstack:get_name(), itemstack:get_count()) then
return
end