fix
This commit is contained in:
parent
b2c206643f
commit
4a7c742d10
@ -3,13 +3,11 @@ airutils.pilot_textures = {"pilot_clothes1.png","pilot_clothes2.png",}
|
|||||||
|
|
||||||
minetest.register_chatcommand("au_uniform", {
|
minetest.register_chatcommand("au_uniform", {
|
||||||
func = function(name, param)
|
func = function(name, param)
|
||||||
if minetest.check_player_privs(name, {server=true}) then
|
local player = minetest.get_player_by_name(name)
|
||||||
local player = minetest.get_player_by_name(name)
|
if player then
|
||||||
if player then
|
airutils.uniform_formspec(name)
|
||||||
airutils.uniform_formspec(name)
|
else
|
||||||
else
|
minetest.chat_send_player(name, "Something isn't working...")
|
||||||
minetest.chat_send_player(name, "Something isn't working...")
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user