Skip to content

Conversation

@biuvietnamhcm
Copy link

Fix gacha empty pool crashes

  • Prevent random.Next(0, 0) on empty item pools
  • Add explicit errors for invalid banners
  • Use shared Random instance for proper RNG behavior

Fix gacha empty pool crashes

- Prevent random.Next(0, 0) on empty item pools
- Add explicit errors for invalid banners
- Use shared Random instance for proper RNG behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant