Merge pull request #2 from 0gb-us/patch-1

Fixed generation of unknown items.
This commit is contained in:
celeron55 2013-03-23 01:12:05 -07:00
commit f551364eba

View File

@ -239,8 +239,8 @@ mobs.make_vault_part = function(p, part, pr)
table.insert(invcontent, 'bucket:bucket_water 1') table.insert(invcontent, 'bucket:bucket_water 1')
end end
if pr:next(1,34) == 1 then if pr:next(1,34) == 1 then
table.insert(invcontent, 'bucket:nyancat 1') table.insert(invcontent, 'default:nyancat 1')
table.insert(invcontent, 'bucket:nyancat_rainbow '..tostring(pr:next(1,6))) table.insert(invcontent, 'default:nyancat_rainbow '..tostring(pr:next(1,6)))
end end
if pr:next(1,2) == 1 then if pr:next(1,2) == 1 then
table.insert(invcontent, 'default:gravel '..tostring(pr:next(1,10))) table.insert(invcontent, 'default:gravel '..tostring(pr:next(1,10)))