The mod is not working since today's update, it is giving this error
Failed compiling 'NightZombies.cs':
1. 'Pool' does not contain a definition for 'GetList' [CS0117]
(NightZombies 49 line 400)
Not Compiling after March Update
Replace the "GetRandomPlayer" function with this code:
private bool GetRandomPlayer(out BasePlayer player)
{
List<BasePlayer> players = Pool.Get<List<BasePlayer>>();
foreach (BasePlayer bplayer in BasePlayer.activePlayerList)
{
if (bplayer.IsFlying || _instance._vanish?.Call<bool>("IsInvisible", bplayer) == true)
continue;
players.Add(bplayer);
}
player = players.GetRandom();
players.Clear();
return player;
}