This commit is contained in:
Alexsandro Percy 2022-04-07 19:41:39 -03:00
parent b2c206643f
commit 4a7c742d10
1 changed files with 5 additions and 7 deletions

View File

@ -3,13 +3,11 @@ airutils.pilot_textures = {"pilot_clothes1.png","pilot_clothes2.png",}
minetest.register_chatcommand("au_uniform", {
func = function(name, param)
if minetest.check_player_privs(name, {server=true}) then
local player = minetest.get_player_by_name(name)
if player then
airutils.uniform_formspec(name)
else
minetest.chat_send_player(name, "Something isn't working...")
end
local player = minetest.get_player_by_name(name)
if player then
airutils.uniform_formspec(name)
else
minetest.chat_send_player(name, "Something isn't working...")
end
end,
})