Commit graph

10 commits

Author SHA1 Message Date
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
Elias Åström
5d3514880a Move data from deprecated files to mod.conf
Move data from deprecated files (depends.txt and description.txt) into
fields in mod.conf for all mods.
2021-05-16 13:44:04 +02:00
Elias Fleckenstein
d4401a6c3e Simplify 3D wielded nodes (improves performance + possibly fixes a crash) 2021-02-25 17:35:44 +01:00
epCode
d1fd3cc827 Add 3D wieldveiw for non-item objects 2021-02-24 13:20:31 -08:00
Elias Fleckenstein
da606fa9d2 Add 3d wielded nodes (not functional until Right_Hand bone is added) 2021-02-24 12:58:30 +01:00
Code-Sploit
9cbfaf012e Make player wield switch instant 2021-02-16 12:34:26 +00:00
kay27
28f19fdbb4 Fix potion names, https://git.minetest.land/Wuzzy/MineClone2/issues/829 2020-09-08 07:21:29 +04:00
Wuzzy
156a0c9cb0 Fix possible nil bug in wieldview mod 2020-06-19 19:17:01 +02:00
Wuzzy
97ab2e7b38 Update wieldview mod (wieldview_transform group) 2020-03-29 14:52:12 +02:00
Wuzzy
ab4e46f97b Move armor mods 2020-02-18 15:48:21 +01:00