Skip to content

Commit a126808

Browse files
committed
Fix compilation errors
1 parent c9f0806 commit a126808

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interfaces/src/main/kotlin/com/noxcrew/interfaces/InterfacesListeners.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ public class InterfacesListeners private constructor(private val plugin: Plugin)
281281
val shouldReopen = reason in REOPEN_REASONS && !event.player.isDead && backgroundInterface != null
282282

283283
// Mark the current view as closed properly
284-
view.markClosed(reason)
284+
view.markClosed(SCOPE, reason)
285285

286286
// If possible, open back up a previous interface
287287
if (shouldReopen) {
@@ -761,7 +761,7 @@ public class InterfacesListeners private constructor(private val plugin: Plugin)
761761
if (view != null) return@launch
762762

763763
// Mark the view as properly closed
764-
(query.view as AbstractInterfaceView<*, *, *>).markClosed(Reason.PLAYER)
764+
(query.view as AbstractInterfaceView<*, *, *>).markClosed(SCOPE, Reason.PLAYER)
765765
}
766766
}
767767

0 commit comments

Comments
 (0)