Skip to content

Commit

Permalink
MORE debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed Nov 16, 2024
1 parent c0c668a commit ce01e07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ public void distributeStateMessage(LoaderState state, Object... eventData)
FMLContextQuery.init(); // Initialize FMLContextQuery and add it to the global list
boolean log = false;

MixinBooterPlugin.LOGGER.info("Instantiating all ILateMixinLoader implemented classes...");

for (ASMDataTable.ASMData asmData : asmDataTable.getAll(ILateMixinLoader.class.getName().replace('.', '/'))) {
Set<ASMDataTable.ASMData> implementations = asmDataTable.getAll(ILateMixinLoader.class.getName().replace('.', '/'));
implementations.forEach(it -> FMLLog.log.info("Retrieving Late Mixin Loader: {}", it.getClassName()));
for (ASMDataTable.ASMData asmData : implementations) {
if (!log) {
MixinBooterPlugin.LOGGER.info("Instantiating all ILateMixinLoader implemented classes...");
log = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public void sendToTable(ASMDataTable table, ModCandidate candidate)

for (String intf : interfaces)
{
if (intf.endsWith("ILateMixinLoader")) FMLLog.log.info("Found Late Mixin Loader {}", this.getASMType().getClassName());
if (intf.endsWith("ILateMixinLoader")) FMLLog.log.info("Found Late Mixin Loader {}", this.asmType.getInternalName());
table.addASMData(candidate, intf, this.asmType.getInternalName(), null, null);
}
}
Expand Down

0 comments on commit ce01e07

Please sign in to comment.