Skip to content

Supermutec/ASC-4: Ascendancy API Interface#15

Open
SuperMuctec wants to merge 3 commits into
3.0.0from
Supermutec/ASC-4
Open

Supermutec/ASC-4: Ascendancy API Interface#15
SuperMuctec wants to merge 3 commits into
3.0.0from
Supermutec/ASC-4

Conversation

@SuperMuctec

Copy link
Copy Markdown
Collaborator

Added ASC-4

  • Supermuctec

@HyScript7 HyScript7 changed the title Supermutec/asc 4 Supermutec/ASC-4: Ascendancy API Interface Jun 21, 2026
}

static Optional<AscendancyAPI> fromServicesManager(){
if (Optional.ofNullable(Bukkit.getServer().getServicesManager().load(AscendancyAPI.class)).isPresent()) {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I'd either add logging to justify this if statement or just simply return:

return Optional.ofNullable(Bukkit.getServer().getServicesManager().load(AscendancyAPI.class));

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.

2 participants