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