We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d984e50 commit d405046Copy full SHA for d405046
src/main/java/com/viaversion/viafabricplus/base/ModMenuScreenFactory.java
@@ -32,7 +32,8 @@ public final class ModMenuScreenFactory implements ModMenuApi {
32
33
@Override
34
public ConfigScreenFactory<?> getModConfigScreenFactory() {
35
- return ProtocolSelectionScreen.INSTANCE::get;
+ //noinspection Convert2MethodRef
36
+ return screen -> ProtocolSelectionScreen.INSTANCE.get(screen);
37
}
38
39
0 commit comments