Skip to content

Commit

Permalink
add debugging to class loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopock committed Nov 7, 2023
1 parent 54d8b47 commit 91b09ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ open class ExtendedKotlinPlugin : ExtendedJavaPlugin(), IConfigProvider {
}

this.packageIndexer
.getMethodsAnnotatedWith<ContainerPreEnable>()
.getMethodsAnnotatedWith<ContainerPreEnable>().also {
if (it.isEmpty()) {
logger.info("THERE WERE NO CONTAINER PRE NEABLED!!?!?")
}
}
.forEach {
kotlin.runCatching {
it.invoke(this)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ class PaperFrameworkPlugin : ExtendedKotlinPlugin() {

@ContainerPreEnable
fun containerPreEnable() {
logger.info("DOING CONTAINER PRE ENABLE")
Tasks.plugin = this
saveDefaultConfig()
Framework.supply(PaperFramework) {
Expand Down

0 comments on commit 91b09ce

Please sign in to comment.