mirror of
https://github.com/mt-mods/playerfactions.git
synced 2024-11-21 23:03:55 +01:00
fix player name in /factions player_info
This commit is contained in:
parent
44ffad45b9
commit
cc0ae096d8
2
init.lua
2
init.lua
@ -312,7 +312,7 @@ local function handle_command(name, param)
|
|||||||
end
|
end
|
||||||
minetest.chat_send_player(name, S("She/He is the owner of the following factions: @1", str_owner))
|
minetest.chat_send_player(name, S("She/He is the owner of the following factions: @1", str_owner))
|
||||||
end
|
end
|
||||||
if minetest.get_player_privs(name).playerfactions_admin then
|
if minetest.get_player_privs(player_name).playerfactions_admin then
|
||||||
minetest.chat_send_player(name, S("@1 has the playerfactions_admin privilege so she/he can admin every factions", player_name))
|
minetest.chat_send_player(name, S("@1 has the playerfactions_admin privilege so she/he can admin every factions", player_name))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user