Use Minecraft setScreenAndShow
This commit is contained in:
1 parent
23a93fc121
commit
de19c98193
1 file changed
+1
-1
+1
-1
@@ -55,7 +55,7 @@ public final class RenderCatalogClient implements ClientModInitializer {
|
|||||||
|
|
||||||
Minecraft client = Minecraft.getInstance();
|
Minecraft client = Minecraft.getInstance();
|
||||||
renderScreen = new RenderScreen();
|
renderScreen = new RenderScreen();
|
||||||
client.execute(() -> client.setScreen(renderScreen));
|
client.execute(() -> client.setScreenAndShow(renderScreen));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadJobs(Path manifestPath) throws IOException {
|
private void loadJobs(Path manifestPath) throws IOException {
|
||||||
|
|||||||
Reference in new issue
Block a user