Skip to content

Commit

Permalink
Fix the crash when opening MaLiGui without ModMenu installed (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: Hendrix-Shen <[email protected]>
  • Loading branch information
Hendrix-Shen committed Jul 17, 2024
1 parent 97826a4 commit 9950049
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@
import com.mojang.blaze3d.vertex.PoseStack;
//#endif

@Dependencies(require = @Dependency(ModId.mod_menu))
@Dependencies(
require = {
@Dependency(ModId.malilib),
@Dependency(ModId.mod_menu)
}
)
@Mixin(value = GuiConfigsBase.class, remap = false)
public abstract class MixinGuiConfigBase extends GuiListBase<GuiConfigsBase.ConfigOptionWrapper, WidgetConfigOption, WidgetListConfigOptions> implements MasaGadgetDropdownList {
protected MixinGuiConfigBase(int listX, int listY) {
Expand Down

0 comments on commit 9950049

Please sign in to comment.