Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Commit

Permalink
move ModelEngineSupport to onEnable
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Nov 28, 2023
1 parent 26fa305 commit f0d3522
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/kotlin/com/mineinabyss/mobzy/MobzyPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ class MobzyPlugin : JavaPlugin() {
geary.pipeline.addSystems(
CopyNBTSystem(),
)

geary {
if (Plugins.isEnabled("ModelEngine")) {
install(ModelEngineSupport)
}
}
}

override fun onDisable() {
Expand Down

0 comments on commit f0d3522

Please sign in to comment.