From 8e757859d6a6bf6482480904e8485e9344e567ab Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 6 Aug 2019 19:30:18 +0100 Subject: Add luacheck to check builtin (#7895) --- builtin/game/misc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin/game/misc.lua') diff --git a/builtin/game/misc.lua b/builtin/game/misc.lua index e6d16dde7..02c36ccb1 100644 --- a/builtin/game/misc.lua +++ b/builtin/game/misc.lua @@ -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) -- cgit v1.2.3