Replace double-quoted strings with single-quoted

This commit is contained in:
AntumDeluge
2017-05-27 17:26:10 -07:00
parent 83c26a3a41
commit e8a37511ea
3 changed files with 55 additions and 55 deletions

View File

@@ -5,8 +5,8 @@ local time_hr = time_min * 60
local time_day = time_hr * 24
minetest.register_abm({
nodenames = {"default:dirt_with_grass","default:stone"},
neighbors = {"air"},
nodenames = {'default:dirt_with_grass','default:stone'},
neighbors = {'air'},
interval = time_min * 20, -- Run spawn function every 20 minutes
chance = 9000,
action = function(pos, node, _, active_object_count_wider)
@@ -26,13 +26,13 @@ minetest.register_abm({
if pos.y > 31000 then
return
end
if minetest.get_node(pos).name ~= "air" then
if minetest.get_node(pos).name ~= 'air' then
return
end
pos.y = pos.y+1
if minetest.get_node(pos).name ~= "air" then
if minetest.get_node(pos).name ~= 'air' then
return
end
minetest.add_entity(pos,"sneaker:sneaker")
minetest.add_entity(pos,'sneaker:sneaker')
end
})