Noah van der Aa
Noah van der Aa
Is this issue about adding a function so user can create cron jobs for themselves or about adding cron jobs to the hosting system itself (because that already exists)?
I've just pushed a commit that renames the event to `CompostItemEvent` (based on [MachineMaker's implementation](https://gist.github.com/Machine-Maker/8053a26c555d8b300239dc0e6fc08bb5)), which can now be triggered by entities (villagers/players) and hoppers.
I've now added a parent event, CompostItemEvent. Right now it *only* fires when an item is composted by a hopper, and the EntityCompostItemEvent, as the name implies, only fires when...
Now that I think of it, these events should probably be in the `io.papermc.paper.event` package instead of `com.destroystokyo.paper.event`, right?
Rebased, comments have also been addressed.
Rebased for 1.18.2
Rebased and re-tested, on this PRs birthday 🥳 ~~let's hope it doesn't have a second~~
Paper has an issue for this @ PaperMC/Paper#5415
Spigot no longer uses a thread pool for chat as of the [1.19.1 update](https://hub.spigotmc.org/stash/projects/SPIGOT/repos/spigot/commits/21831450a43f67f1730dd0dec987c7a7ff19caa9#CraftBukkit-Patches/0029-Fix-Broken-Async-Chat.patch).
Closed this too quickly, apologies. In 1.19.1, a thread pool is still used, but it was moved into CraftBukkit, into the `MinecraftServer` class.