mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
remove useless condition (bug?)
This commit is contained in:
parent
3393ce9ba1
commit
829e7388c1
@ -40,9 +40,8 @@ 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
|
||||
local pos = player:getpos()
|
||||
-- From playerplus :
|
||||
-- am I near a cactus?
|
||||
pos.y = pos.y + 0.1
|
||||
|
Loading…
Reference in New Issue
Block a user