diff --git a/Core/Utils/RandomUtil.cs b/Core/Utils/RandomUtil.cs index b51d2115..2e49e8f4 100644 --- a/Core/Utils/RandomUtil.cs +++ b/Core/Utils/RandomUtil.cs @@ -104,7 +104,7 @@ public class RandomUtil /// /// The percentage chance (0-100) that the event will occur. /// `true` if the event occurs, `false` otherwise. - public bool GetChance100(float chancePercent) + public bool GetChance100(double chancePercent) { chancePercent = Math.Clamp(chancePercent, 0f, 100f); @@ -378,4 +378,4 @@ public class RandomUtil ? parts[1].Length : 0; } -} \ No newline at end of file +}