mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Merge pull request 'Fix undeclared global variable in mcl_playerplus' (#2950) from playerplus into master
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/2950 Reviewed-by: cora <cora@noreply.git.minetest.land>
This commit is contained in:
commit
8fa0371c63
1 changed files with 1 additions and 1 deletions
|
@ -549,7 +549,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
--[[ Swimming: Cause exhaustion.
|
--[[ Swimming: Cause exhaustion.
|
||||||
NOTE: As of 0.4.15, it only counts as swimming when you are with the feet inside the liquid!
|
NOTE: As of 0.4.15, it only counts as swimming when you are with the feet inside the liquid!
|
||||||
Head alone does not count. We respect that for now. ]]
|
Head alone does not count. We respect that for now. ]]
|
||||||
if not parent and (get_item_group(node_feet, "liquid") ~= 0 or
|
if not player:get_attach() and (get_item_group(node_feet, "liquid") ~= 0 or
|
||||||
get_item_group(node_stand, "liquid") ~= 0) then
|
get_item_group(node_stand, "liquid") ~= 0) then
|
||||||
local lastPos = mcl_playerplus_internal[name].lastPos
|
local lastPos = mcl_playerplus_internal[name].lastPos
|
||||||
if lastPos then
|
if lastPos then
|
||||||
|
|
Loading…
Reference in a new issue