Skip to content

Commit 2b53270

Browse files
author
ChefZander
committed
wrong variable
1 parent fde8f6b commit 2b53270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mods/sbz_power/manual_crafter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ local function craft(user, meta)
114114

115115
-- okay.. so we just craft
116116
for name, amount in pairs(required_items) do
117-
for i = 1, total_to_remove do
117+
for i = 1, amount do
118118
user_inv:remove_item('main', name)
119119
end
120120
end

0 commit comments

Comments
 (0)