diff --git a/src/AutoFish/AutoFish.cs b/src/AutoFish/AutoFish.cs index dc510f0e0..09db79c49 100644 --- a/src/AutoFish/AutoFish.cs +++ b/src/AutoFish/AutoFish.cs @@ -195,7 +195,7 @@ private static void ControlFishing(ProjectileAiUpdateEventArgs args, TSPlayer pl if (Config.Random) { var rm = new Random(); - var id = rm.Next(1, 5455); + var id = rm.Next(1, ItemID.Count - 1); args.Projectile.localAI[1] = id; }