diff --git a/EXILED/Exiled.API/Features/Map.cs b/EXILED/Exiled.API/Features/Map.cs index 6b68e7f00..817aebd2a 100644 --- a/EXILED/Exiled.API/Features/Map.cs +++ b/EXILED/Exiled.API/Features/Map.cs @@ -425,13 +425,13 @@ public static void PlayGunSound(Vector3 position, ItemType firearmType, byte max } /// - /// Spawns a Mice inside the . + /// Spawns mice inside the . /// /// The type of mice you want to spawn.. public static void SpawnMice(byte mice = 1) { if (mice > SqueakSpawner.mice.Length) - new OverflowException($"The mice type are from 1 to {SqueakSpawner.mice.Length}"); + throw new ArgumentOutOfRangeException($"Mouse type must be between 1 and {SqueakSpawner.mice.Length}."); SqueakSpawner.NetworksyncSpawn = mice; SqueakSpawner.SyncMouseSpawn(0, SqueakSpawner.NetworksyncSpawn);