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 22, 2023
1 parent 18ea997 commit 0a1b640
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,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 0a1b640

Please sign in to comment.