remove dead code, fix luacheck

This commit is contained in:
flux
2022-06-19 15:34:08 -07:00
parent 5990d7c6a4
commit 9a617992b4
6 changed files with 17 additions and 96 deletions

View File

@ -1,10 +1,12 @@
-- luacheck: globals minetest
local creative_priv = invsaw.settings.creative_priv
local priv = invsaw.settings.priv
local function on_priv_change(name)
local player = minetest.get_player_by_name(name)
if player then
invsaw.on_join(player)
invsaw.check_use_status(player)
end
end