forked from minetest/minetest_game
496521f4a1
Also fixes the failing travis checks.
20 lines
471 B
Lua
20 lines
471 B
Lua
unused_args = false
|
|
allow_defined_top = true
|
|
|
|
read_globals = {
|
|
"DIR_DELIM",
|
|
"minetest", "core",
|
|
"dump",
|
|
"vector",
|
|
"VoxelManip", "VoxelArea",
|
|
"PseudoRandom", "ItemStack",
|
|
-- Silence "accessing undefined field copy of global table".
|
|
table = { fields = { "copy" } }
|
|
}
|
|
|
|
-- Overwrites minetest.handle_node_drops
|
|
files["mods/creative/init.lua"].globals = { "minetest" }
|
|
|
|
-- Don't report on legacy definitions of globals.
|
|
files["mods/default/legacy.lua"].global = false
|