Use actual config screen
This commit is contained in:
parent
5990a085a6
commit
c1421c1564
1 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
|||
package org.betterx.bclib.integration.modmenu;
|
||||
|
||||
import org.betterx.bclib.client.gui.modmenu.TestScreen;
|
||||
|
||||
import net.minecraft.network.chat.Component;
|
||||
import org.betterx.bclib.client.gui.modmenu.MainScreen;
|
||||
|
||||
import com.terraformersmc.modmenu.api.ConfigScreenFactory;
|
||||
import com.terraformersmc.modmenu.api.ModMenuApi;
|
||||
|
@ -28,8 +26,8 @@ public class ModMenuEntryPoint implements ModMenuApi {
|
|||
|
||||
@Override
|
||||
public ConfigScreenFactory<?> getModConfigScreenFactory() {
|
||||
return (parent) -> new TestScreen(parent, Component.literal("Hello Test"));
|
||||
//return (parent) -> new MainScreen(parent);
|
||||
//return (parent) -> new TestScreen(parent, Component.literal("Hello Test"));
|
||||
return (parent) -> new MainScreen(parent);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue