blob: 704ad2bd7df199531496e079e393a33e9e0f5948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
package cc.polyfrost.oneconfig.utils.dsl
import cc.polyfrost.oneconfig.utils.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)
|