MineClonXX/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 Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_hunger Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_meshhand Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_player Fix usages of player:get_velocity(), closes #1203 2021-02-27 15:07:10 +01:00
mcl_player_init Fix settable hand 2019-03-06 07:32:22 +01:00
mcl_playerinfo Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_playerplus Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_skins Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_spawn Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
mcl_sprint Send FOV packets only when necessary 2021-07-04 03:25:05 +02:00
playerphysics Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
wieldview Fix server crash by client leaving after joining 2021-08-22 04:21:35 +02:00
modpack.conf Add a couple of modpack.conf files 2019-01-07 00:52:05 +01:00