Mods / PlayerListCrashFix

Tags:
QoL
Author:
SiiMeR
Side:
Both
Created:
Jun 15th at 7:24 PM
Last modified:
Jun 15th at 7:24 PM
Downloads:
636
Latest release (for Vintage Story 1.21.0 - 1.21.7, outdated):
playerlistcrashfix_1.0.0.zip  1-click install

Prevents PlayerListRevived from crashing at times. Aims to solve the following error, which seems to be a result of the player disconnecting while the name is being sent to others nearby.

System.NullReferenceException: Object reference not set to an instance of an object.
at playerlist.util.PlayerData..ctor(PlayerList mod, IPlayer player) in C:\Users\link4\source\repos\VS-PlayerList-Revived\src\util\PlayerData.cs:line 17
at playerlist.gui.element.GuiPlayerGrid.<.ctor>b__8_0(String uid) in C:\Users\link4\source\repos\VS-PlayerList-Revived\src\gui\element\GuiPlayerGrid.cs:line 22
at System.Linq.Enumerable.SelectListIterator`2.Fill(ReadOnlySpan`1 source, Span`1 destination, Func`2 func)
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at playerlist.gui.element.GuiPlayerGrid..ctor(PlayerList mod, List`1 players, ElementBounds bounds) in C:\Users\link4\source\repos\VS-PlayerList-Revived\src\gui\element\GuiPlayerGrid.cs:line 22

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.0 playerlistcrashfix
1.21.0 - 1.21.7
636 Jun 15th at 7:24 PM Empty playerlistcrashfix_1.0.0.zip 1-click install

0 Comments (oldest first | newest first) (threaded | flat)