Mineclonia/mods
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
..
CORE Fix server crash when players dig unknown nodes 2021-06-17 23:39:13 +02:00
ENTITIES Add debug command to acquire a written book 2021-07-30 17:22:33 +02:00
ENVIRONMENT Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
HELP Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
HUD Do not send useless HUDCHANGE packets 2021-07-21 10:28:04 +02:00
ITEMS Make dragon egg teleport on punching 2021-07-13 09:11:48 +02:00
MAPGEN Generate pig spawners in mineshafts 2021-07-23 04:11:33 +02:00
MISC Move data from deprecated files to mod.conf 2021-05-16 13:44:04 +02:00
PLAYER Fix server crash by client leaving after joining 2021-08-22 04:21:35 +02:00