Don't use buildtest if it isn't there

master
minermoder27 2014-06-13 09:13:39 +12:00
parent 2fc3897025
commit 746e75667d
1 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ minetest.register_craft({
{ "default:steel_ingot", "default:stone", "default:steel_ingot", },
}
})
if buildtest~=nil then
buildtest.pumps.pumpible["skytest:auto_activator"] = {
power = function(pos, speed)
local meta = minetest.get_meta(pos)
@ -92,4 +92,5 @@ buildtest.pumps.pumpible["skytest:auto_activator"] = {
end
end
end,
}
}
end