diff options
-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") |