diff options
author | cheapie <no-email-for-you@example.com> | 2024-09-14 16:55:29 -0500 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2024-09-14 16:55:29 -0500 |
commit | 238cb6d7d9b1f04177b67993a31d10971e11c4bd (patch) | |
tree | d72ce288787cd23b509dbbf233e230a726306c05 | |
parent | 3d8d01d8a4923e7e4e24cd8744318b17b9c0cc0e (diff) | |
download | creativesettings-main.tar creativesettings-main.tar.gz creativesettings-main.tar.bz2 creativesettings-main.tar.xz creativesettings-main.zip |
-rw-r--r-- | .luacheckrc | 7 | ||||
-rw-r--r-- | init.lua | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.luacheckrc b/.luacheckrc new file mode 100644 index 0000000..b501c8a --- /dev/null +++ b/.luacheckrc @@ -0,0 +1,7 @@ +max_line_length = 160 + +read_globals = { + "playersettings", + "minetest", + "vector", +} @@ -1,4 +1,4 @@ -local function set(name,old,new) +local function set(name) local player = minetest.get_player_by_name(name) local speed = playersettings.get(name,"creativesettings:speed") local jump = playersettings.get(name,"creativesettings:jump") |