Mineclonia/mods/PLAYER
Nils Dagsson Moskopp 10ce37d887
Fix server crash by client leaving after joining
When a player joins and immediately leaves the game before a function is
called by minetest.after() in mods/PLAYER/wieldview/init.lua, it gets an
invalidated player object. This results in the player methods returning
nil (since Minetest 5.2); perhaps surprisingly, the player is not nil.

Not checking that the result of player:get_pos() is not nil could lead
to a server crash if a client crashed when joining. It has been reported
that a syntax error in a client side mod was enough to trigger that.
2021-08-22 04:21:35 +02:00
..
mcl_death_drop
mcl_hunger
mcl_meshhand
mcl_player
mcl_player_init
mcl_playerinfo
mcl_playerplus
mcl_skins
mcl_spawn
mcl_sprint
playerphysics
wieldview Fix server crash by client leaving after joining 2021-08-22 04:21:35 +02:00
modpack.conf