diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/notenoughupdates/util')
-rw-r--r-- | src/main/kotlin/moe/nea/notenoughupdates/util/ScreenUtil.kt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/notenoughupdates/util/ScreenUtil.kt b/src/main/kotlin/moe/nea/notenoughupdates/util/ScreenUtil.kt index c56560e..95dc982 100644 --- a/src/main/kotlin/moe/nea/notenoughupdates/util/ScreenUtil.kt +++ b/src/main/kotlin/moe/nea/notenoughupdates/util/ScreenUtil.kt @@ -23,8 +23,7 @@ object ScreenUtil { private var nextOpenedGui: Screen? = null - @Suppress("UnusedReceiverParameter") - fun Minecraft.setScreenLater(nextScreen: Screen) { + fun setScreenLater(nextScreen: Screen) { val nog = nextOpenedGui if (nog != null) { NotEnoughUpdates.logger.warn("Setting screen ${nextScreen::class.qualifiedName} to be opened later, but ${nog::class.qualifiedName} is already queued.") |