mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-17 07:50:29 +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
|
--Loop through all connected players
|
||||||
for playerName,playerInfo in pairs(players) do
|
for playerName,playerInfo in pairs(players) do
|
||||||
local player = minetest.get_player_by_name(playerName)
|
local player = minetest.get_player_by_name(playerName)
|
||||||
if not player then return end
|
|
||||||
local pos = player:getpos()
|
|
||||||
if player ~= nil then
|
if player ~= nil then
|
||||||
|
local pos = player:getpos()
|
||||||
-- From playerplus :
|
-- From playerplus :
|
||||||
-- am I near a cactus?
|
-- am I near a cactus?
|
||||||
pos.y = pos.y + 0.1
|
pos.y = pos.y + 0.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user