diff options
author | nea <romangraef@gmail.com> | 2022-08-04 03:56:53 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-04 03:56:53 +0200 |
commit | c83890afc8304fc0a1b1d0ea8da791c6d9b90439 (patch) | |
tree | f95b2816503b865d78e326448faca350dbec2445 /src/main/kotlin/moe/nea/notenoughupdates/util | |
parent | 2625eeb7dedb05b524b08721e1267acdcd93e5c1 (diff) | |
download | Firmament-c83890afc8304fc0a1b1d0ea8da791c6d9b90439.tar.gz Firmament-c83890afc8304fc0a1b1d0ea8da791c6d9b90439.tar.bz2 Firmament-c83890afc8304fc0a1b1d0ea8da791c6d9b90439.zip |
screen padding
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.") |