Replace double-quotes with singles
This commit is contained in:
parent
096ae76d16
commit
cb8701b219
8
init.lua
8
init.lua
@ -1,17 +1,17 @@
|
||||
-- clean by PilzAdam
|
||||
-- LICENSE: WTFPL
|
||||
|
||||
local old_nodes = {"mod:a", "mod:b"}
|
||||
local old_nodes = {'mod:a', 'mod:b'}
|
||||
local old_entities = {}
|
||||
|
||||
for _,node_name in ipairs(old_nodes) do
|
||||
minetest.register_node(":"..node_name, {
|
||||
minetest.register_node(':'..node_name, {
|
||||
groups = {old=1},
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"group:old"},
|
||||
nodenames = {'group:old'},
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos, node)
|
||||
@ -20,7 +20,7 @@ minetest.register_abm({
|
||||
})
|
||||
|
||||
for _,entity_name in ipairs(old_entities) do
|
||||
minetest.register_entity(":"..entity_name, {
|
||||
minetest.register_entity(':'..entity_name, {
|
||||
on_activate = function(self, staticdata)
|
||||
self.object:remove()
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user