Isolate modmenu compat

[no changelog]
This commit is contained in:
Linnea Gräf
2024-10-26 18:55:30 +02:00
parent 928f6a4501
commit 8ab4408854
3 changed files with 5 additions and 6 deletions

View File

@@ -1,14 +0,0 @@
package moe.nea.firmament.modmenu
import com.terraformersmc.modmenu.api.ConfigScreenFactory
import com.terraformersmc.modmenu.api.ModMenuApi
import moe.nea.firmament.gui.config.AllConfigsGui
class FirmamentModMenuPlugin : ModMenuApi {
override fun getModConfigScreenFactory(): ConfigScreenFactory<*> {
return ConfigScreenFactory { AllConfigsGui.makeScreen(it) }
}
}

View File

@@ -34,7 +34,7 @@
"moe.nea.firmament.rei.FirmamentReiPlugin"
],
"modmenu": [
"moe.nea.firmament.modmenu.FirmamentModMenuPlugin"
"moe.nea.firmament.compat.modmenu.FirmamentModMenuPlugin"
],
"jarvis": [
"moe.nea.firmament.jarvis.JarvisIntegration"