From 585705b34bee8dd3fa2889d3ab294f47c7bee6ab Mon Sep 17 00:00:00 2001 From: pomchom Date: Wed, 26 Jun 2024 23:01:43 -0400 Subject: [PATCH] oops --- src/main/java/io/github/homchom/recode/render/ScreenEvents.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/homchom/recode/render/ScreenEvents.kt b/src/main/java/io/github/homchom/recode/render/ScreenEvents.kt index ec6c8e3d..d6421664 100644 --- a/src/main/java/io/github/homchom/recode/render/ScreenEvents.kt +++ b/src/main/java/io/github/homchom/recode/render/ScreenEvents.kt @@ -41,4 +41,4 @@ data class ScreenRenderContext( val tickDelta: Float ) -fun Screen.onRemove() = wrapFabricEvent(remove(this), ::Remove) \ No newline at end of file +fun Screen.onRemove() = wrapFabricEvent(remove(this)) { Remove(it) } \ No newline at end of file