mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Adding security on esprint
This commit is contained in:
parent
e816fb5f42
commit
06ff688a3e
@ -40,6 +40,7 @@ minetest.register_globalstep(function(dtime)
|
||||
--Loop through all connected players
|
||||
for playerName,playerInfo in pairs(players) do
|
||||
local player = minetest.get_player_by_name(playerName)
|
||||
if not player then return end
|
||||
local pos = player:getpos()
|
||||
if player ~= nil then
|
||||
-- From playerplus :
|
||||
|
Loading…
Reference in New Issue
Block a user