Fix craft counting for some objects

This commit is contained in:
sys4-fr 2016-01-06 10:24:39 +01:00
parent d95da0b115
commit 23ca4de5ca
2 changed files with 3 additions and 3 deletions

View File

@ -1625,12 +1625,12 @@ sys4_achievements.register_onCraft(
if node == 'vessels:glass_bottle' then if node == 'vessels:glass_bottle' then
mod = 'vessels' mod = 'vessels'
items = {'vessels:glass_bottle', 'vessels:drinking_glass', 'vessels:glass_fragments'} items = {'glass_bottle', 'steel_bottle', 'drinking_glass', 'glass_fragments'}
end end
if node == 'beds:bed_bottom' then if node == 'beds:bed_bottom' then
mod = 'beds' mod = 'beds'
items = {'beds:bed_bottom', 'beds:fancy_bed_bottom'} items = {'bed_bottom', 'fancy_bed_bottom'}
end end
local count = sys4_achievements.getItemCount("craft", mod, items, playern, data) local count = sys4_achievements.getItemCount("craft", mod, items, playern, data)