blob: 8596a8af100a79549ee877d499c28d9c5b33cd9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package cc.polyfrost.oneconfig.utils.dsl
import cc.polyfrost.oneconfig.utils.gui.GuiUtils
import net.minecraft.client.gui.GuiScreen
/**
* Displays the provided screen after a tick, preventing mouse sync issues.
*
* @see GuiUtils.displayScreen
*/
fun GuiScreen.openScreen() = GuiUtils.displayScreen(this)
|