setAllowClosing

fun setAllowClosing(allowClosing: Boolean)(source)

This function is used to set whether the player is allowed to close the inventory

Parameters

allowClosing

Whether the player is allowed to close the inventory