onTick

fun onTick(event: TickEvent.ClientTickEvent)

Updates the variables.