fix: delay opening screen by one tick in /optionsprofiles command
This commit is contained in:
parent
e56829232d
commit
84b1eadf4a
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ public class OptionsProfilesMod {
|
|||
Commands
|
||||
.literal("optionsprofiles")
|
||||
.executes(context -> {
|
||||
Minecraft.getInstance().setScreen(new ProfilesScreen(null));
|
||||
Minecraft.getInstance().execute(() -> Minecraft.getInstance().setScreen(new ProfilesScreen(null)));
|
||||
return 1;
|
||||
})
|
||||
)));
|
||||
|
|
|
|||
Loading…
Reference in a new issue