Fix obvious errors
This commit is contained in:
parent
a895acb978
commit
a6b96fa28f
|
@ -1,4 +1,4 @@
|
|||
chunk, scanner = ...;
|
||||
local chunk, scanner, maps = ...;
|
||||
|
||||
-- Periodically-called function to fill in maps and queue chunks for manual
|
||||
-- scanning
|
||||
|
|
4
init.lua
4
init.lua
|
@ -50,14 +50,14 @@ local util = loadfile(modpath .. "/util.lua") ();
|
|||
local biomes = loadfile(modpath .. "/biome_api.lua") (util);
|
||||
|
||||
local scanner = loadfile(modpath .. "/scanner.lua") (map_data, chunk);
|
||||
local maps = loadfile(modpath .. "/map_api.lua") (map_data, chunk, scanner);
|
||||
local maps = loadfile(modpath .. "/map_api.lua") (map_data, chunk);
|
||||
local materials = loadfile(modpath .. "/material_api.lua") ();
|
||||
local markers = loadfile(modpath .. "/marker_api.lua") (marker_lookup);
|
||||
local map_formspec = loadfile(modpath .. "/map_formspec.lua") (map_data, gui, skin, util, biomes, markers);
|
||||
local map_item = loadfile(modpath .. "/items.lua") (chunk, marker_lookup, gui, skin, audio, maps, map_formspec);
|
||||
loadfile(modpath .. "/commands.lua") (chunk, audio, map_formspec);
|
||||
loadfile(modpath .. "/table.lua") (gui, skin, audio, maps, materials, map_item);
|
||||
loadfile(modpath .. "/autofill.lua") (chunk, scanner);
|
||||
loadfile(modpath .. "/autofill.lua") (chunk, scanner, maps);
|
||||
|
||||
-- The API object
|
||||
cartographer = {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local map_data, chunk, scanner = ...;
|
||||
local map_data, chunk = ...;
|
||||
|
||||
local Map = {};
|
||||
Map.__index = Map;
|
||||
|
|
Loading…
Reference in New Issue
Block a user