Anvil GUI - Prevent Closing (Effect) — Lusk

Addon: Lusk · Category: Effect · Since: 1.3

Syntax

prevent [[lusk] anvil[(-| )gui]] %anvilguiinventory% from (closing|being closed)

Description

Prevents an anvil gui from closing. *NOTES*: - This effect must be used *BEFORE* the gui is opened; if you need to use it after it's already opened you'll have to open it again. - If this effect is used you'll need to use the `Anvil GUI - Close` effect to close the gui.

Examples

prevent event-anvilguiinventory from closing

View source