mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
MinetestCheck: Add more reserved mod names
This commit is contained in:
parent
d31162a1fa
commit
7492c308ad
@ -23,7 +23,10 @@ from .config import parse_conf
|
|||||||
|
|
||||||
basenamePattern = re.compile("^([a-z0-9_]+)$")
|
basenamePattern = re.compile("^([a-z0-9_]+)$")
|
||||||
|
|
||||||
DISALLOWED_NAMES = {"core", "minetest", "group"}
|
DISALLOWED_NAMES = {
|
||||||
|
"core", "minetest", "group", "table", "string", "lua", "luajit", "assert", "debug",
|
||||||
|
"error", "next", "pairs", "print", "select", "type", "pack", "unpack", "builtin",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def get_base_dir(path):
|
def get_base_dir(path):
|
||||||
|
Loading…
Reference in New Issue
Block a user