mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
Add basic folia support
This commit is contained in:
parent
3f0b432e1a
commit
80aeb165cc
13 changed files with 148 additions and 50 deletions
|
|
@ -115,7 +115,7 @@ class CustomAnvil : JavaPlugin() {
|
|||
|
||||
// Load other thing later.
|
||||
// It is so other dependent plugins can implement there event listener before we fire them.
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(this, {loadEnchantmentSystem()}, 0L)
|
||||
DependencyManager.scheduler.scheduleGlobally(this, {loadEnchantmentSystem()})
|
||||
}
|
||||
|
||||
private fun loadEnchantmentSystem(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue