onRemovedFromInventory

@MustBeInvokedByOverriders
open fun onRemovedFromInventory(player: Player)(source)

Remove the effect from the player. Best-effort removal therefore is no guarantee that the player is still connected or that the RebarItem.stack is up to date with the actual ItemStack when it runs.