Skip to content

Commit

Permalink
ModuleManager: Add warning when importing modules with mixins
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 committed Jun 20, 2023
1 parent d011b90 commit c571e74
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ object ModuleManager {

loadAssetsAndJars(newModules)

// TODO: Print warning to console if metadatas contain an asm key
newModules.forEach {
if (it.metadata.mixinEntry != null)
ChatLib.chat("&cModule ${it.name} has dynamic mixins which require a restart to take effect")
}

entryPass(newModules)

Expand Down

0 comments on commit c571e74

Please sign in to comment.