forked from minetest-mods/moreblocks
Compare commits
2 Commits
d4c94f449a
...
ea335a3745
Author | SHA1 | Date | |
---|---|---|---|
ea335a3745 | |||
b39bb31295 |
@ -89,8 +89,9 @@ circular_saw.names = {
|
||||
}
|
||||
|
||||
function circular_saw:get_cost(inv, stackname)
|
||||
local name = minetest.registered_aliases[stackname] or stackname
|
||||
for i, item in pairs(inv:get_list("output")) do
|
||||
if item:get_name() == stackname then
|
||||
if item:get_name() == name then
|
||||
return circular_saw.cost_in_microblocks[i]
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user