CommandAPI version
11.1.0
Minecraft version
1.21.11
Are you shading the CommandAPI?
No
What I did
My server is running Folia
I reload the my plugin which use CommandAPI
then CommandAPI called the bukkit scheduler on this line
|
Bukkit.getScheduler().scheduleSyncDelayedTask(CommandAPIPaper.getPaper().getPlugin(), () -> { |
caused the plugin from not loading
What actually happened
Plugin denied to load because of a scheduler mismatch
What should have happened
Plugin load normally
Server logs and CommandAPI config
No response
Other
This can be fixed by swapping that line of code to a correct scheduler that Folia expects
|
Bukkit.getScheduler().scheduleSyncDelayedTask(CommandAPIPaper.getPaper().getPlugin(), () -> { |
CommandAPI version
11.1.0
Minecraft version
1.21.11
Are you shading the CommandAPI?
No
What I did
My server is running Folia
I reload the my plugin which use CommandAPI
then CommandAPI called the bukkit scheduler on this line
CommandAPI/commandapi-platforms/commandapi-paper/commandapi-paper-core/src/main/java/dev/jorel/commandapi/PaperCommandRegistration.java
Line 168 in 18cb5bb
caused the plugin from not loading
What actually happened
Plugin denied to load because of a scheduler mismatch
What should have happened
Plugin load normally
Server logs and CommandAPI config
No response
Other
This can be fixed by swapping that line of code to a correct scheduler that Folia expects
CommandAPI/commandapi-platforms/commandapi-paper/commandapi-paper-core/src/main/java/dev/jorel/commandapi/PaperCommandRegistration.java
Line 168 in 18cb5bb