Fix addSMrecipe function in dye mod

master
Victor Hackeridze 2012-03-15 17:00:51 +06:00
parent 046ce62a1e
commit e0765cff1a
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ minetest.register_craftitem("dye:brown", {
--Dye recipes
local addSMrecipe = function(new, first, second) {
local addSMrecipe = function(new, first, second)
minetest.register_craft({
output = 'dye:' .. new ..' 2',
recipe = {
@ -167,7 +167,7 @@ local addSMrecipe = function(new, first, second) {
{'dye:'.. second,''},
}
})
}
end
--second
addSMrecipe('orange','red','yellow')