diff options
| author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-10-22 21:12:20 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-22 21:12:20 +1100 |
| commit | 3ec6a29f79c4f4c437b2dd4dec34dca12ea0924f (patch) | |
| tree | 61326fb17f02239c8781c34c17d25061e63523d3 /annotation-processors | |
| parent | 65613e99af5595b4ee4b03de477ad327c96e1d01 (diff) | |
| download | SkyHanni-3ec6a29f79c4f4c437b2dd4dec34dca12ea0924f.tar.gz SkyHanni-3ec6a29f79c4f4c437b2dd4dec34dca12ea0924f.tar.bz2 SkyHanni-3ec6a29f79c4f4c437b2dd4dec34dca12ea0924f.zip | |
Backend: Start preprocessing mappings (#2776)
Diffstat (limited to 'annotation-processors')
| -rw-r--r-- | annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt b/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt index 5ce902613..6275eac83 100644 --- a/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt +++ b/annotation-processors/src/main/kotlin/at/hannibal2/skyhanni/skyhannimodule/ModuleProcessor.kt @@ -25,8 +25,10 @@ class ModuleProcessor(private val codeGenerator: CodeGenerator, private val logg skyHanniEvent = resolver.getClassDeclarationByName("at.hannibal2.skyhanni.api.event.SkyHanniEvent")?.asStarProjectedType() + minecraftForgeEvent = resolver.getClassDeclarationByName("net.minecraftforge.fml.common.eventhandler.Event") ?.asStarProjectedType() + ?: return emptyList() val symbols = resolver.getSymbolsWithAnnotation(SkyHanniModule::class.qualifiedName!!).toList() val validSymbols = symbols.mapNotNull { validateSymbol(it) } |
