registerGuiClosed

open fun registerGuiClosed(method: Any): RegularTrigger

Registers a new trigger that runs when a gui is closed.

Passes through one argument:

  • The gui that was closed

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard