1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Add luacheck to check builtin (#7895)

This commit is contained in:
rubenwardy
2019-08-06 19:30:18 +01:00
committed by GitHub
parent 8da35c22d1
commit 8e757859d6
24 changed files with 202 additions and 140 deletions

View File

@@ -62,7 +62,7 @@ end
core.register_on_joinplayer(function(player)
local player_name = player:get_player_name()
player_list[player_name] = player
if not minetest.is_singleplayer() then
if not core.is_singleplayer() then
local status = core.get_server_status(player_name, true)
if status and status ~= "" then
core.chat_send_player(player_name, status)