Skip to content

Fix FloodgateApi.getInstance() is null#86

Open
enncy wants to merge 2 commits intoGeyserMC:masterfrom
enncy:patch-1
Open

Fix FloodgateApi.getInstance() is null#86
enncy wants to merge 2 commits intoGeyserMC:masterfrom
enncy:patch-1

Conversation

@enncy
Copy link

@enncy enncy commented Jul 26, 2025

When i'm use FloodgateApi.getInstance() it always get null
add depends can fix it.

@enncy enncy requested review from a team as code owners July 26, 2025 14:58

Make sure say the plugin (soft)depends on floodgate, otherwise paper won't give your plugin access to the classes

**plugin.yml**
Copy link
Contributor

Choose a reason for hiding this comment

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

It feel a bit weird just have it saying "plugin.yml" ? maybeeeeeeee specify what platform this should be since this is not the same for eg: extension

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, I upload a new commit.

@onebeastchris
Copy link
Member

Not opposed to adding such a section (it's already listed in the events page, might be worth it to remove it there), but maybe we can also add similar instructions for bungee/velocity

@enncy
Copy link
Author

enncy commented Jul 26, 2025

Not opposed to adding such a section (it's already listed in the events page, might be worth it to remove it there), but maybe we can also add similar instructions for bungee/velocity

I think we should mention it at the beginning of the article. (Because not everyone needs to view events api like me 🤣)

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.

3 participants