From 077df8372e40f6e6d1e8604e73bbee268fc9f017 Mon Sep 17 00:00:00 2001 From: theFox6 Date: Sat, 25 May 2019 11:58:52 +0200 Subject: [PATCH] small fixes --- .luacheckrc | 20 ++++++++++++++++---- weather/command.lua | 4 ++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.luacheckrc b/.luacheckrc index 898c484..3486036 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,11 +1,23 @@ allow_defined_top = true read_globals = { + "dump", "minetest", - "dump", "vector", - "VoxelManip", "VoxelArea", - table = { fields = { "copy" } }, + "vector", + "VoxelManip", + "VoxelArea", + table = { fields = { + "copy" + } }, "lightning", } -ignore = {"211", "212", "213", "631"} \ No newline at end of file +ignore = { + "211", + "212", + "213", + "611", + "612", + "621", + "631" +} diff --git a/weather/command.lua b/weather/command.lua index ec4c417..2a49168 100644 --- a/weather/command.lua +++ b/weather/command.lua @@ -28,9 +28,9 @@ minetest.register_chatcommand("setweather", { end }) --- Set weather +-- Set wind minetest.register_chatcommand("setwind", { - params = "", + params = "", description = "Set windspeed to the given x,z direction", -- full description privs = {weather = true}, func = function(name, param)