Suppression

This commit is contained in:
Auxilor
2022-02-02 16:54:09 +00:00
parent 65221bdddf
commit 1f2bb3341e

View File

@@ -46,6 +46,7 @@ fun SlotBuilder.onMiddleClick(action: (InventoryClickEvent, Slot, Menu) -> Unit)
* @deprecated Use SlotUpdater instead.
*/
@Deprecated("Use SlotUpdater instead")
@Suppress("DEPRECATION")
fun SlotBuilder.setModifier(action: (Player, Menu, ItemStack) -> Unit): SlotBuilder =
this.setModifier { a, b, c -> action(a, b, c) }