register
Registers a StaffItemHandler for the given item ID.
Return
true
, if the registration was successful, false
, if the item was already registered
Parameters
staff Item
The item ID to register a handler for. This is the item, which can be inserted into the staff
handler
The staff item handler, which processes staff interactions, while the registered item is inserted into it