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

Fixes #2377, was not accounting for unknown UUIDs #2380

Merged
merged 1 commit into from
May 24, 2024
Merged

Conversation

tastybento
Copy link
Member

No description provided.

@@ -452,7 +457,7 @@ public Set<String> getAllIslandIds() {
* @return list of islands
*/
public @NonNull List<Island> getIslands(UUID uniqueId) {
return islandsByUUID.get(uniqueId).stream().map(this::getIslandById).toList();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assumed that every UUID had an island of some kind.

@tastybento tastybento merged commit 5e5707f into develop May 24, 2024
1 check passed
@tastybento tastybento deleted the 2377_nulls branch May 24, 2024 23:43
Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

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.

Could not pass event PlayerJoinEvent to BentoBox v2.4.0-SNAPSHOT-b2627
1 participant