mirror of
https://github.com/APercy/airutils.git
synced 2025-04-30 08:41:41 -04:00
fix
This commit is contained in:
parent
b2c206643f
commit
4a7c742d10
1 changed files with 5 additions and 7 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue