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

Folia support #147

Open
Anon8281 opened this issue Jun 20, 2023 · 2 comments
Open

Folia support #147

Anon8281 opened this issue Jun 20, 2023 · 2 comments

Comments

@Anon8281
Copy link

Example with Gui:

Caused by: java.lang.UnsupportedOperationException
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.handle(CraftScheduler.java:536) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:236) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:212) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftScheduler.runTaskLater(CraftScheduler.java:176) ~[folia-1.19.4.jar:git-Folia-"ca3b7ad"]
at me.lucko.helper.promise.HelperPromise.executeDelayedSync(HelperPromise.java:175) ~[helper-5.6.13_folia.jar:?]
at me.lucko.helper.promise.HelperPromise.supplyDelayedSync(HelperPromise.java:308) ~[helper-5.6.13_folia.jar:?]
at me.lucko.helper.promise.Promise.supplyDelayed(Promise.java:508) ~[helper-5.6.13_folia.jar:?]
at me.lucko.helper.promise.Promise.supplyingDelayed(Promise.java:177) ~[helper-5.6.13_folia.jar:?]
at me.lucko.helper.scheduler.Scheduler.runLater(Scheduler.java:135) ~[helper-5.6.13_folia.jar:?]
at me.lucko.helper.menu.Gui.open(Gui.java:263) ~[helper-5.6.13_folia.jar:?]

@lucko
Copy link
Owner

lucko commented Jun 20, 2023

I have no plans to work on Folia support for helper, but PRs would be accepted :)

@lucko lucko changed the title Scheduler and everything depends on it does not work on Folia Folia support Jun 20, 2023
@joestr
Copy link

joestr commented Nov 29, 2023

It's a bit tricky to implement since Folia scheduling requires knowledge about the the Entity if a EntityScheduler is used. Also Folia does not have the concept of synced tasks.

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

No branches or pull requests

3 participants