Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(DONT SQUASH) fix: making NetworkServer.players a readonly collection #992

Merged
merged 2 commits into from
Nov 29, 2021

Conversation

James-Frowen
Copy link
Member

This will stop other scripts from adding or removing items from the set. We can also remove the set and just use the values from the connection dictionary.

BREAKING CHANGE: NetworkServer.Players is now a IReadOnlyCollection

This will stop other scripts from adding or removing items from the set. We can also remove the set and just use the values from the connection dictionary.

BREAKING CHANGE: NetworkServer.Players is now a IReadOnlyCollection<INetworkPlayer>
- using Substitute instead of PipedConnections
@sonarcloud
Copy link

sonarcloud bot commented Nov 16, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@James-Frowen James-Frowen merged commit 0ab2831 into master Nov 29, 2021
@James-Frowen James-Frowen deleted the making-server-players-readonly branch November 29, 2021 16:22
@github-actions
Copy link
Contributor

🎉 This PR is included in version 113.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant